Using Input in Python Year 8 WK 9
Using Input in Python Year 8 WK 9
Starter
Open pycharm on your computer and check to see if it loads well
Concatenate
Learning Objectives Key Words
By the end of this class • Int
• I should be able to identify different input methods • Float
in python • Str
• I should be able to explain the function of int and • Print
str in coding
• Input
• I should be able to use the print function to display
answers • Concatenat
e
• ==
Topic : Python Programming
Oct 2024
Guide
https://www.programiz.com/python-progr
amming/input-output-import
Activity
• Create this code in pycharm run it and see the outcome
Topic : Python Programming
Oct 2024
Activity
• Create this code in Pycharm run it and see the outcome
Topic : Python Programming
Oct 2024
Activity
• Create this code in Pycharm run it and see the outcome
Topic : Python Programming
Oct 2024
Activity
• Write down this in your note book
Input and Print Function
In Python, we use the input() function to ask the user for
input. As a parameter, we input the text we want to
display to the user. Once the user presses “enter,” the
input value is returned. We typically store user input in a
variable so that we can use the information in our
program.
Topic : Python Programming
Oct 2024
Plenary
Topic : Python Programming
Oct 2024
Guide
Follow the steps in the video
https://www.youtube.com/watch?v=DB9C
q6TSTuQ