Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- """
- Hacer un script usando la biblioteca time para imprimir una cuenta regresiva
- de 10 a 0 (en segundos)
- ayuda: función sleep
- """
- import time
- for i in range(10,-1,-1):
- print(i)
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement