Physics, asked by satakshi060610, 2 days ago

Identify the error in the following python programs.

True = 10

print(True / 2)

(2)​

Answers

Answered by Pursho
3

Answer:

The error in the following pgm, is underlined and in bold.

True=10

print(True/2)

(2)

That statement shows error because, you cannot assign any value to True, since True is a keyword.

Also, True/2 can be executed because True takes binary 1 and False takes binary 0.

Similar questions