Type Conversion: String to integer

preview_player
Показать описание
17. How do you convert a string to an integer in Python?

Use the int() function. Example: int("123") converts the string "123" to the integer 123.

#Python #TypeConversion #StringToInt
Рекомендации по теме