Introduction to Python Lesson 2 – Make 1
Write a program that will allow the user to input their name and age and then output the name and age that have been entered on the screen.
Introduction to Python Lesson 2 – Make 1 Read More »
Write a program that will allow the user to input their name and age and then output the name and age that have been entered on the screen.
Introduction to Python Lesson 2 – Make 1 Read More »
Modify the code above so that it asks the user to input their first name and surname separately, then prints a statement including the two variables. Below, explain what your modified code is doing.
Introduction to Python Lesson 2 – 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 change ‘name =’ to ‘word =’? Why? 2. What happens if you put quotes around name, in the print statement? Why?
Introduction to Python Lesson 2 – Investigate Read More »
Now type the code into the IDE below and run the program to see the code’s output.
Introduction to Python Lesson 2 – Run Read More »
What do you think the code will do? name = input(“What is your name?”) print(“Hello ” + name)
Introduction to Python Lesson 2 – Predict Read More »
Create a program to output this ASCII tadpole onto the screen: ~~~~~~~(:::::)
Introduction to Python Lesson 1 – Make 4 Read More »
Create a program to output this sequence of prime numbers: 2 3 5 7 11 13
Introduction to Python Lesson 1 – Make 3 Read More »
Create a program which prints a message of your choice to the screen.
Introduction to Python Lesson 1 – Make 2 Read More »
Write a program which prints an inputted name to the screen
Introduction to Python Lesson 1 – Make 1 Read More »
Study this modified code: Explain what the code is doing.
Introduction to Python Lesson 1 – Modify Read More »