Integers are whole numbers. In other words, they have no fractional component. Two data types you can use to store an integer in Python are int
and str
. These types offer flexibility for working with integers in different circumstances. In this course, you’ll learn how you can convert a Python string to an int
. You’ll also learn how to convert an int
to a string.
By the end of this course, you’ll understand how to:
str
and int
int
int
to a stringWhat’s Included:
Downloadable Resources:
Related Learning Paths:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4