Python Continued Lesson 1 – Make 3
Write a program that asks the user for their age and then displays what their age will be in 52 years.
Python Continued Lesson 1 – Make 3 Read More »
Write a program that asks the user for their age and then displays what their age will be in 52 years.
Python Continued Lesson 1 – Make 3 Read More »
Write a program that asks the user for their favourite colour and then comments on the colour entered (for example, “**colour entered**, is a nice colour!”).
Python Continued Lesson 1 – Make 2 Read More »
Create a program that asks the user to enter a message, then get the program to output the entered message to the screen.
Python Continued Lesson 1 – Make 1 Read More »
Modify the code above so that that it requests that the user enters two numbers, then multiplies them together and outputs the result. Below, explain how you modified the above code.
Python Continued Lesson 1 – Modify Read More »
Using the python IDE below, investigate the following and explain your findings in the text area below. 1. What happens if you enclose both of the input statements with the int() function? (e.g. number1 = int(input(“Enter a number”)) 2. What does the int() function do? Explain the result of the code alteration.
Python Continued Lesson 1 – Investigate Read More »
Now type the code into the IDE below and run the program to see the code’s output.
Python Continued Lesson 1 – Run Read More »
Study the code below: number1 = input(“Enter a number”) print(number1*5)
Python Continued Lesson 1 – Predict Read More »
Write a program that asks the user to enter a number from 1-10 to represent how they are feeling (1=Sad, 10=Happy). Get the program to output the message “I’m so sorry to hear you are not a happy bunny” if they type in a number from 1-5. Get the program to output the message “Good
Introduction to Python Lesson 4 – Make 3 Read More »
Write a program that performs the following steps: Prompt the user to create a password and store their input. Ask the user to re-enter the same password to confirm it, storing this second input in a different variable. Compare the two passwords: If the passwords match, display a confirmation message. If the passwords do not
Introduction to Python Lesson 4 – Make 2 Read More »
Write a program that will allow the user to input a value and output whether the value is zero or above (number >= 0) or below zero (number < 0).
Introduction to Python Lesson 4 – Make 1 Read More »