Q. What is the error in following code? Correct the code:
weather = 'raining'
if weather = 'sunny' :
print ("wear sunblock")
elif weather = "snow" :
print ("going skiing")
else :
print (weather)
Answer =
weather = 'raining'
if weather == 'sunny' :
print ("wear sunblock")
elif weather == "snow" :
print ("going skiing")
else :
print (weather)
Thank you so much
ReplyDeleteWelcome : )
DeleteThanks a lot
ReplyDeleteWelcome : )
Deletegood ;)
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )