Q8
Find and remove the error(s) and underline your each
correction(s) :
1
print("Hello" + 2)
print("Hello" + '2')
print("Hello" * 2)
Answers
Answered by
1
Answer:
Error in line 1
>>> print ("Hello"+2)
#(str and int can't be sum up)
#it should be
>>> print ( "Hello"+"2")
#As line 2
Similar questions