Lesson 3: Checking and Changing Data Types | Python Beginner Course 2025 🐍

 


    In this lesson, we will learn how to check and change data types.

EXAMPLE:

Input:

    print(type("hello"))

    number = "2"

    print(type(int(number)))

Output:

    <class 'str'>

    <class 'int'>