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 1313while i < 10 :
1414 print (f'\n Count Loop! "{ i } " ' )
1515 i += 1
16+
17+ '''-----------------------------------------------------------------------------'''
1618
1719# This conditional while-loop example will never ever stop looping, until the user
1820# presses either "y" or "n" followed by pressing the "Enter" key to confirm. If the user
4446
4547print ('\n "Yay!" You broke out of the while-loop example.' )
4648
49+ '''-----------------------------------------------------------------------------'''
50+
4751# This conditional while-loop example will never ever stop looping, until the user
4852# presses "y" followed by the "Enter" key to confirm. If the user presses any other key
4953# except "y", the conditional while-loop will keep on looping forever. After the while-
7478
7579print ('\n This is the end of the entire conditional while-loop example:' )
7680
81+ '''-----------------------------------------------------------------------------'''
82+
7783# This conditional while-loop example will never ever stop looping, until the user types
7884# the number "10" followed by pressing the "Enter" key to confirm. If the user types
7985# 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