B4Coder
0%
LessonAbout 7 min

Chapter 13 · Lesson 2 of 5

02. Ask again until it's a number

Put try and except inside a while loop, and your program keeps asking, kindly, until it gets a number it can use.

Opening the lesson…