Companies Home Search Profile

Convert a Python String to int

Focused View

Darren Jones

08:58

413 View
  • 0 - Intro.mp4
    00:23
  • 1 - Representing Integers.mp4
    03:18
  • 2 - Converting String to Int.mp4
    02:58
  • 3 - Converting Int to String.mp4
    01:42
  • 4 - Summary.mp4
    00:37
  • Convert_String_to_Int.pdf
  • Description


    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:

    What You'll Learn?


    • Store integers using str and int
    • Convert a Python string to an int
    • Convert a Python int to a string

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Darren Jones
    Darren Jones
    Instructor's Courses

    Darren is an avid Pythonista and creates video tutorials for Real Python. Having followed a varied career as a nuclear industry instrumentation engineer, a musician, recording engineer and teacher, he’s always been interested in computers, spending the last 20 years producing music with them and teaching music technology. He’s written books on the subject, and spends the remainder of his time improving his Python skills, with a view to bringing them into the studio and classroom for better understanding of both music and programming.

    Learn Python online: Python tutorials for developers of all skill levels, Python books and courses, Python news, code examples, articles, and more.
    • language english
    • Training sessions 5
    • duration 08:58
    • Release Date 2023/01/03