Lecture 11/17/2026
This commit is contained in:
parent
07b9e54bf0
commit
bf3265103a
44 changed files with 1195 additions and 3 deletions
9
lecture20261117/while/while02.py
Normal file
9
lecture20261117/while/while02.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
print("Down counter")
|
||||
counter = 5 ;
|
||||
index = 0
|
||||
|
||||
while(counter > 0 ):
|
||||
print("Counter = ",counter, " Index = ", index)
|
||||
index = index + 1
|
||||
counter = counter - 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue