Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- # script que simula una bomba
- import time
- tiempo = int(input("Ingrese el tiempo hasta detonación: "))
- for t in range(tiempo,0,-1):
- print(t)
- time.sleep(1)
- print("BOOOMMMM")
- # Modificar para que bortre la pantalla entre cada cuenta
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement