File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 13
13
while i < 10 :
14
14
print (f'\n Count Loop! "{ i } " ' )
15
15
i += 1
16
+
17
+ '''-----------------------------------------------------------------------------'''
16
18
17
19
# This conditional while-loop example will never ever stop looping, until the user
18
20
# presses either "y" or "n" followed by pressing the "Enter" key to confirm. If the user
44
46
45
47
print ('\n "Yay!" You broke out of the while-loop example.' )
46
48
49
+ '''-----------------------------------------------------------------------------'''
50
+
47
51
# This conditional while-loop example will never ever stop looping, until the user
48
52
# presses "y" followed by the "Enter" key to confirm. If the user presses any other key
49
53
# except "y", the conditional while-loop will keep on looping forever. After the while-
74
78
75
79
print ('\n This is the end of the entire conditional while-loop example:' )
76
80
81
+ '''-----------------------------------------------------------------------------'''
82
+
77
83
# This conditional while-loop example will never ever stop looping, until the user types
78
84
# the number "10" followed by pressing the "Enter" key to confirm. If the user types
79
85
# any other number keys except "10", the conditional while-loop will keep on looping
You can’t perform that action at this time.
0 commit comments