Maj fichier
This commit is contained in:
23
ACTIVITE.md
23
ACTIVITE.md
@@ -21,29 +21,6 @@ Consignes:
|
||||
10. Premier programme informatique
|
||||
11. Premier ordinateur
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
```python
|
||||
import time
|
||||
|
||||
def chrono(t):
|
||||
|
||||
while t:
|
||||
mins, secs = divmod(t, 60)
|
||||
timer = '{:02d}:{:02d}'.format(mins, secs)
|
||||
print(timer, end="\r")
|
||||
time.sleep(1)
|
||||
t -= 1
|
||||
|
||||
print('Terminé !!')
|
||||
|
||||
t = input("Combien de temps ? : ")
|
||||
|
||||
chrono(int(t))
|
||||
```
|
||||
|
||||
## Apollo 11 qui alunit
|
||||
|
||||
> 
|
||||
|
||||
Reference in New Issue
Block a user