python strin g ton int code example Example: convert string to int python my_string = "50485" print(int(my_string))