Advertisement
JPablos

Bucle while, Simple. Python

May 24th, 2022
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. # -*- coding: utf-8 -*-
  4.  
  5. i = 1
  6.  
  7. while i <= 10:
  8.     print(i, end=' ')
  9.     i = i + 1
  10.  
  11. print('\nUso simple del bucle while')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement