Python variables tutorial example explained
#python #variables #tutorial
#variable = a container for a value. Behaves as the value that it contains
#string = a series of characters
first_name = "Bro"
last_name = "Code"
full_name = first_name +" "+ last_name
print("Hello "+full_name)
print(type(first_name))
#int = a whole integer
age = 21
age += 1
print("Your age is: "+str(age))
print(type(age))
#float = a decimal number
height = 250.5
print("Your height is: "+str(height)+"cm")
print(type(height))
#boolean = True or False
human = True
print("Are you a human: "+str(human))
print(type(human))
––––––––––––––––––––––––––––––
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 variables ✘ with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 21 December 2020, share the link with friends and acquaintances, this video has already been watched 65,323 times on youtube and it was liked by 3 thousand viewers. Enjoy your viewing!