+ 1
I can't find the solution for this👇
Casepaper = input() year == int(Casepaper ) if year > 2015: print ("New patient. Do not throw away") else print ("Old patient.)
15 ответов
+ 2
Just put 4 spaces after if statement it will work
+ 1
print ("Old patient. ")
+ 1
indent
+ 1
There are 4 problems
1. There should be one "=" in 3rd line.
2. Indent after if in 4th line and after else in 6th line
3. Colon after else
4. 6th line should be like - print("Old patient")
((With qoutes))
+ 1
# correct program
casepaper=input ()
year=int (casepaper)
if year>2015:
print ("New patient.Do not throw away")
else:
print ("old patient.")
0
Indent error occurred on line 4
0
How to solve it?
0
tab in line 4
0
just
if condition:
print("something")
else:
print("something else")
0
#I can't find the solution for this👇
year = int(input("Casepaper"))
if year > 2015:
print ("New patient. Do not throw away")
else:
print ("Old patient.")
0
Thank you everyone . Isolved it
0
#I can't find the solution for this👇
year = int(input("Casepaper"))
if year > 2015:
print ("New patient. Do not throw away")
else:
print ("Old patient.")
0
I can't find the solution for this👇
Casepaper = input()
year =int(Casepaper )
if year > 2015:
print ("New patient. away")
else:
print ("Old patient.)
0
Errors. The code is incorrect
- 1
Print("Old patient")