Computer Science - Text-Based Programming - Python - Introduction to Python syntax - Blocks to Text: The Next Level

Match Scratch blocks to their Python equivalents. Pairs: [say "Hello!"] ↔ print("Hello!"), [set x to 5] ↔ x = 5, [if x > 3 then] ↔ if x > 3:, [repeat 10] ↔ for i in range(10):, [forever] ↔ while True:, [ask "name?" and wait] ↔ name = input("name?"), [x + y] ↔ x + y, [join "Hi " name] ↔ "Hi " + name.

Edodovivmagarwal
Computer Science - Text-Based Programming - Python - Introduction to Python syntax - Blocks to Text: The Next Level
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Text-Based Programming - Python - Introduction to Python syntax - Blocks to Text: The Next Level

vivmagarwal
vivmagarwalJan 29, 2026

Description

Match Scratch blocks to their Python equivalents. Pairs: [say "Hello!"] ↔ print("Hello!"), [set x to 5] ↔ x = 5, [if x > 3 then] ↔ if x > 3:, [repeat 10] ↔ for i in range(10):, [forever] ↔ while True:, [ask "name?" and wait] ↔ name = input("name?"), [x + y] ↔ x + y, [join "Hi " name] ↔ "Hi " + name.

Details

Computer ScienceText-Based Programming - PythonStage 7, Grade 6, Class 7, Class 7, MYP Grade 6

Engagement

16

Likes

0

Remixes

0

Comments