- 1

How we can change "string" into "int" in PYTHON.

11th Sep 2021, 6:48 PM
Bilal Hamza
Bilal Hamza - avatar
3 Respostas
+ 2
use the int function: int(put string here) eg. int('5') gives 5 as an integer
11th Sep 2021, 6:59 PM
moses
moses - avatar
0
With the int() function
11th Sep 2021, 6:59 PM
Lisa
Lisa - avatar