+ 2
Phthon question
Hello, can you let me know what is the problem of this? age = int(input()) name = input() # your code goes here if age>=18: print(f"Welcome {name}") else: print("Sorry")
2 Réponses
+ 5
Earl
Indentation problem. Else should start from beginning of line without space
if age>=18:
print(f"Welcome {name}")
else:
print("Sorry")
+ 1
Super Thanks! 😆