CBSE Class 11 Computer Science Question 139 of 173

Data Handling — Question 28

Back to all questions
28
Question

Question 18f

Find the errors(s)

print ("Hello"/2) 
print ("Hello" / 2)

Answer

Both the lines of this Python code will give an error as strings cannot be used with division operator (/).

Answer