Advertisement
JPablos

Bucle while, Simple. Python

May 24th, 2022
814
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement