0

Please tell me where is the error in my code?

age = int(input()) name = input() # место для вашего кода if age >= 18:     print("Welcome " + name) else:     print("Sorry")

11th Apr 2021, 7:33 PM
константин будник
константин будник - avatar
2 Answers
0
You have invisible invalid characters in code. JUST remove spaces and add again.. or Retype or rewrite all again.. You may copied this from any net sources..
11th Apr 2021, 7:50 PM
Jayakrishna 🇮🇳
0
You miss two " signs.Try to write it like this:- Age = int(input(" ")) name = int(input(" ")) ''' beacuse when we use input command we also need to place two " signs inside the () column to the code to work '''
10th Jul 2023, 7:59 AM
Mr . Ss
Mr . Ss - avatar