print("Hello"), Displays the text "Hello" on the screen. The print() function outputs text or other information., input("Press Enter to continue..."), Waits for the user to press Enter before proceeding. The input() function pauses the program until the user provides input., name = input("What is your name? "), Asks the user for their name and stores the input in the variable name., print(“Hello ‘ + name), Prints the word hello and the whatever was typed in as the name variable, if name == “Fred”:, Conditional (if statement)., if name != "Fred":, Checks to see if name is NOT Fred, from csinsc import *, imports the modules from CS in Schools to give more options, print(Colour.red + "This is red"), Prints the text in red colour, print(Highlight.yellow + "This is yellow"), Hightlights the text in yellow, print(Colour.reset + "Back to normal"), Resets text colour to default., sleep(3), Waits for 3 seconds, before the program continues, CS in Schools, The name of the website we are using, Python, The name of the programming language
0%
Coding Recap
Share
Share
by
09324879
Secondary
DigTech
Edit Content
Save
Like
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Match up
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
More like this
Classrom language
by
Skolskaknjiga
Maze chase
4
Text and Visual Programming
by
Mariamalhamoudi
Balloon pop
5
School Objects + COLOURS + numbers
by
Miica286
Quiz
25
Classroom objects and colors
by
Melissacarrion
Gameshow quiz
14
TEACHER SAYS...(SCHOOL OBJECTS + RANDOM COMMANDS)
by
Dreamlanguageschool
Open the box
13
Coding (Computer Programming)
by
1969irishman
Quiz
6
Spanish Classroom Commands
by
Baccain
Match up
7
Quiz COLOURS AND SCHOOL OBJECTS
by
Bigbalder
Quiz
5
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?