Presentation is loading. Please wait.

Presentation is loading. Please wait.

What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( “ int input ) = + Hello world chr ord.

Similar presentations


Presentation on theme: "What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( “ int input ) = + Hello world chr ord."— Presentation transcript:

1 What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( int input ) = + Hello world chr ord / <

2 Code help! Use these pieces of code to help you with this starter. Read this slide and then attempt the tasks. print(“Welcome to Python”) – this prints the phrase “Welcome to Python” on the screen. X = input(“Please enter your age”) – this asks the user to input their age and stores it as a variable called X print(X) – this prints the variable called X on screen

3 Use these commands to make a program that…
1 Use these commands to make a program that… Prints HELLO WORLD on screen print int input ( ) = + Hello world chr ord / <

4 Use these commands to make a program that…
2 Use these commands to make a program that… …asks the user to enter their name and stores it as a variable called YOURNAME print Enter your name input ( ) = + Hello world YOURNAME ord / <

5 Use these commands to make a program that…
3 Use these commands to make a program that… Prints the variable called YOURNAME on screen print int input ( ) = + Hello world YOURNAME ord / <


Download ppt "What you need to do… Drag the pieces of code into the correct order like you can see in the EXAMPLE below. print ( “ int input ) = + Hello world chr ord."

Similar presentations


Ads by Google