- 1

Ya no se que poner para que me salgan correctos el codigo para control facial

age = int(input()) ifage>=18: print("Allowed") else age < 18: print ("Sorry")

26th Aug 2022, 2:23 PM
Susana Llop
Susana Llop - avatar
3 Antworten
+ 2
Please DO NOT PUT CODE IN THE TAG SECTION. Put "python" in the tag section. * check the indentation of the code * there is a blank space missing between "if" and "age" * "else" does not take any condition. Remove "age < 18"
26th Aug 2022, 2:27 PM
Lisa
Lisa - avatar
+ 1
Find four differences: age = int(input()) if age>=18: print("Allowed") elif age < 18: print ("Sorry")
26th Aug 2022, 2:32 PM
Solo
Solo - avatar
0
Gracias funciono
26th Aug 2022, 2:42 PM
Susana Llop
Susana Llop - avatar