Edodovivmagarwal
Computer Science - Text-Based Programming - Python - For loops and range - Write the For Loop
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 - For loops and range - Write the For Loop

vivmagarwal
vivmagarwalJan 29, 2026

Description

Complete for loop code. P1: 'Print even numbers 2 to 20' → for i in range(___, ___, ___): print(i) [2, 21, 2]. P2: 'Sum of list' → total = 0; for num in ___: total += num [numbers]. P3: 'Count vowels in a word' → count=0; for ___ in word: if letter in 'aeiou': count+=1 [letter]. P4: 'Multiplication

Details

Computer ScienceText-Based Programming - PythonClass 7, Class 7, Stage 8, Grade 7

Engagement

18

Likes

0

Remixes

0

Comments