How to inter tap in mobile phone please help me😣 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to inter tap in mobile phone please help me😣

I was writing a python script Script: name = ("what is your name") if name == "jihad" print("you are not allowed") after "jihad" need a inter but when I inter that happens. This is the problem.please help me 😣I was writing a python script Script: name = ("what is your name") if name == "jihad" print("you are not allowed")

12th Aug 2023, 6:15 AM
JIHAD
JIHAD - avatar
3 Answers
+ 1
JIHAD There are syntax error in your code.. 1:-use a colon (:) after the condition in an if statement. 2:-`input()`function is missing, Use `input()`function this will allow them to enter their name... See this correct version.. name = input("What is your name? ") if name == "jihad": print("You are not allowed")
12th Aug 2023, 7:13 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 1
Thanks
12th Aug 2023, 8:46 AM
JIHAD
JIHAD - avatar
0
Enter tap or press
12th Aug 2023, 6:17 AM
JIHAD
JIHAD - avatar