while loop and check "empty" or "not":Python Tutorial 29

Published: 08 April 2019
on channel: Divya Bharati
45
4

This video covers "#while" #loop and check a string is "#empty" or "#not". Very important topic it is...!!! Must watch previous videos to make it more clear.Try these codes. Source codes are given below:

---------empty or not--------

name=input("Enter your name\n")
if name:
print(f"Your name is {name}")
else:
print("You didn\'t type anything")

---------while loop--------

i=1
while i =7: //use "greater than" sign
print("#programming world")
i=i+1

Thank you...!!!


On this page of the site you can watch the video online while loop and check "empty" or "not":Python Tutorial 29 with a duration of hours minute second in good quality, which was uploaded by the user Divya Bharati 08 April 2019, share the link with friends and acquaintances, this video has already been watched 45 times on youtube and it was liked by 4 viewers. Enjoy your viewing!