MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 5 Lessons (9m) | Size: 17.5 MB
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:
Store integers using str and int
Convert a Python string to an int
Convert a Python int to a string