Best Answer · By JanBask Python Expert
Answered on Feb 25, 2021
You can use the below-mentioned code for that:-
for i in range(c/10):
You're creating a float as a result - to fix this use the int division operator:
for i in range(c // 10):
Was this helpful?