TypeError an integer is required got type str

preview_player
Показать описание
#python tutorial: #codefix #python #python_tutorial
TypeError an integer is required (got type str):
in this video i shared why TypeError an integer is required (got type str) error comes and how to solve TypeError an integer is required (got type str)?

this error comes casue you are trying to give string where integer parameter is required.
here is exact code i used in this video.
TypeError: an integer is required (got type str)
for line in my_data:
print(line)
▶▶▶Learn More◀◀◀

Рекомендации по теме