Skip to content

Commit

Permalink
maj
Browse files Browse the repository at this point in the history
  • Loading branch information
glassus committed Oct 3, 2023
1 parent 60c8176 commit 257b7a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/T1_Demarrer_en_Python/1.3_Boucle_while/cours.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ Voir le piège n°1 ...
=== "Énoncé"
Trouver le plus petit nombre entier $n$ tel que $2^n$ soit supérieur à 1 milliard.
=== "Correction"
{#

```python linenums='1'
n = 1
while 2**n < 10**9:
n = n + 1
print("trop petit")
print("trouvé : ",n)
```
#}




Expand Down

0 comments on commit 257b7a7

Please sign in to comment.