Combina condiciones con and y or:
edad = 25
tiene_licencia = True
if edad >= 18 and tiene_licencia:
print("Puede conducir")
else:
print("No puede conducir")
🎥 www.youtube.com/@josecodetech/
#JoseCodeTech #Programacion #Codigo #AprendePython #CondicionalesPython
Combina condiciones con and y or:
edad = 25
tiene_licencia = True
if edad >= 18 and tiene_licencia:
print("Puede conducir")
else:
print("No puede conducir")
🎥 www.youtube.com/@josecodetech/
#JoseCodeTech #Programacion #Codigo #AprendePython #CondicionalesPython