TypeError occurs while executing Line 2. Give reason. How can it be corrected ? S = (10) # Line 1 print(len(S)) # Line 2*
Answers
Answered by
0
Answer:
So If I Say Here You Tried To Execute The Program With Maybe int with str or others like this python doesn't accept str with int or etc like this it only works with str with str or int with int or bool with bool and float with float and to change try this str() or int()
Explanation:
Thanks
Similar questions