0

Why does int(hello) work on python3?

4/12/2019 10:09:43 AM

Xander Cage

2 Answers

New Answer

+4

It only works if hello is a name assigned to anything that can be converted to an int. For example: hello = 1.6 hello = '5'

+1

thanks.