The equivalent of the above for loop using the while syntax would be
Python Loops 2

Quiz
•
Computers
•
University
•
Hard
Elaine Cortez
Used 15+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above prints each number between 1 and 10
as many times as the number itself
10 times
11 times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program above prints each number between 1 and 10
as many times as the number itself
10 times
11 times
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in 100 :
print ( i )
Syntax error
prints numbers 0 to 100
prints numbers 1 to 100
prints numbers 0 to 99
prints numbers 1 to 99
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A while loop equivalent of the for loop above is
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Quizizz
27 questions
python basic

Quiz
•
University
30 questions
Javascript Quiz

Quiz
•
University
25 questions
Python Basics

Quiz
•
University
32 questions
TCP Socket Programming

Quiz
•
University
31 questions
C++ Basics

Quiz
•
University
35 questions
CodeChef (Secret Snippet)

Quiz
•
University
30 questions
CS 211 - Midterm Review

Quiz
•
University
25 questions
Assignment 2(CIVIL)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade