Find the errors in the following:
weather = 'Raining'
if weather = 'sunny':
Print("wear sunblock")
elif weather = 'snow':
print("going skiing”)
else weather=="Spring"
print(weather)
Answers
Answered by
3
weather = "Raining"
if weather == "sunny":
print("wear sunblock")
elif weather == "snow":
print("going skiing")
elif weather == "Spring":
print("going for a picnic")
else:
print(weather)
Similar questions