Python break continue pass tutorial example explained
#python #break #continue #pass
Loop Control Statements = change a loops execution from its normal sequence
break = used to terminate the loop entirely
continue = skips to the next iteration of the loop.
pass = does nothing, acts as a placeholder
while True:
name = input("Enter your name: ")
if name != "":
break
phone_number = "123-456-7890"
for i in phone_number:
if i == "-":
continue
print(i, end="")
for i in range(1,21):
if i == 13:
pass
else:
print(i)
Bro Code merch store 👟 :
===========================================================
https://teespring.com/stores/bro-code-5
===========================================================
music credits 🎼 :
===========================================================
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A Sudden) – Kubb...
===========================================================
On this page of the site you can watch the video online Python break continue pass ⛔ with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 11 January 2021, share the link with friends and acquaintances, this video has already been watched 38,949 times on youtube and it was liked by 2 thousand viewers. Enjoy your viewing!