Learn Python VARIABLES in 10 minutes! ❎

Publicado el: 17 agosto 2024
en el canal de: Bro Code
265,377
5.6k

#python #pythontutorial #pythoncourse

Variable = A container for a value (string, integer, float, boolean)
A variable behaves as if it was the value it contains

Strings
first_name = "Bro"
food = "pizza"
email = "[email protected]"

Integers
age = 25
quantity = 3
num_of_students = 30

Float
price = 10.99
gpa = 3.2
distance = 5.5

Boolean
is_student = True
for_sale = False
is_online = True

print(f"Hello {first_name}")
print(f"You are {age} years old")
print(f"Your gpa is: {gpa}")

if is_student:
print("You are a student")
else:
print("You are NOT student")


En esta página del sitio puede ver el video en línea Learn Python VARIABLES in 10 minutes! ❎ de Duración hora minuto segunda en buena calidad , que subió el usuario Bro Code 17 agosto 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 265,377 veces y le gustó 5.6 mil a los espectadores. Disfruta viendo!