Is 7 the same as "7" in Python? No. One is a number, the other is text.
Type type(7) and Python tells you which kind of value it is. int("7") turns the text into a number.
Online #Python Training & Expert Community: Tutorials, Video Courses, Books, Quizzes...and More! Join 1M+ Pythonistas at realpython.com

