Coding task · Python course · Module 1: Python Basics

String → int Conversion

Convert a string to int

Task

Convert the text '42' to an integer with int() and store the result in the variable number: