PYTHON BEGINNERS - 03 : VARIABLE AND ITS TYPE
IN THIS TUTORIAL, WE GONNA LEARN ABOUT VARIABLE AND ITS TYPE :
character_name = "Afrida" #--> string
character_age = 10 and 10.0 #--> float and decimal respectively
is_male = False #--> boolean
print("There was once a man named " + character_name + " ,")
print("he was " + character_age + " years old.")
character_name = "Siddiqua"
character_age = "14"
print("He really liked the name " + character_name + " , ")
print("but didn't like being " + character_age +" , ")
Comments
Post a Comment