Skip to content

Commit 0c12187

Browse files
While statement example given in class
1 parent e0d77b5 commit 0c12187

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

whileExample.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
print('Start of Prgm')
2+
x = 0
3+
while (x<10):
4+
print(str(x))
5+
x = x+1
6+
7+
print('End')
8+
# 0-9

0 commit comments

Comments
 (0)