--Originally published at Fundamentos de Programación
This time I did a simple program that asks the user a question to complete a sequence of a list known as “x”. The missing number on the list is the number 2 so when the user types an answer the program will check whith an “if” if the number that was typed is indeed the correct one, giving diferent outputs if the user is correct or incorrect.
This is how it runs:
The mastery topics for this lesson are basic output, basic user input, use of the conditional “if” and creation of lists.
#TC101 #python