Edodovivmagarwal
Computer Science - Text-Based Programming - Python - Conditionals (if-elif-else) - Condition Constructor
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 - Conditionals (if-elif-else) - Condition Constructor

vivmagarwal
vivmagarwalJan 29, 2026

Description

Build working conditionals by filling in conditions and code blocks. P1: 'Number sign checker' → if num ___: print('positive') [> 0] elif num ___: print('negative') [< 0] else: print('zero'). P2: 'Leap year checker' → if year % 4 ___ 0: [==] if year % 100 ___ 0: [!=] print('Leap year!') P3: 'Login s

Details

Computer ScienceText-Based Programming - PythonStage 7, Class 7, Class 7, Grade 7, MYP Year 2

Engagement

16

Likes

0

Remixes

0

Comments