#Task 4
a=274
n=3
while int(input("Enter your code: "))!=a:
print("Wrong")
if int(input("Enter your code: "))!=a and n==0:
print("Phone blocked")
else:
print("Welcome, {your name and surname}" .format(your name and surname="Aqshin Hasanov"))
at the end, it says invalid syntax error
I tried using formatting, it gave error.
source https://stackoverflow.com/questions/74248094/it-gives-me-syntax-error-on-the-line-which-i-think-is-correct
Comments
Post a Comment