(a) Rewrite the following code in python after removing any/all Syntactical Error(s) with
each correction underlined. (3)
w=raw_input(‘enter a word’)
If w = ‘HELLO’
Print(w+2)
else
Print(w*2)
Answers
Answered by
0
Explanation:
w = raw_input("enter world")
if w=="HELLO" :
print(w+2)
else:
print(w*2)
Similar questions
Math,
3 months ago
Math,
3 months ago
World Languages,
10 months ago
English,
10 months ago
Math,
10 months ago