I Haz Codes
When starting to learn about if statements it is important to get to grips with the basic syntax and terminology. Also, you need to understand the difference between = and ==. In python a single = is used to assign values to a variables while == is used to check if two things are the same or not.
Write a program which will display a single digit in words. For example, if the user enters “1” then the program will display “one”. See the end of the video for more details.
Try the following quiz to test your knowledge.