Ok guys, I am closer now.
Ok, I get it!
current_age = int(input("Your current age: ")) name=input("and your name?: ") if current_age <18: print ("Sorry, bye") if current_age >= 18: name if name == "Marco": print ("Go home") else: print ("Welcome")the only problem is when the user is under 18, it should be say "sorry,bye" at first, and not ask for the name. I know is in line 6 but can´t figure it out.
Ok, I get it!
current_age = int(input("Your current age: ")) if current_age <18: print ("Sorry, bye") if current_age >= 18: name=input("and your name?: ") if name == "Marco": print ("Go home") else: print ("Welcome")Thanks for the patience and the guidance. All the time was in front of me. I know is not easy for people like me, but I am gonna keep trying. Thanks!!!