Learn Python Free Python Courses for Beginners
The if-statement contains an obvious error, where the repeat() function is accidentally typed in as repeeeet(). This code compiles and runs fine so long as the name at runtime is not ‘Guido’. Only when a run actually tries to execute the repeeeet() will it notice that there is no such function and raise an error. …