Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does print("-" * 3) show? | StemPy Lab
Quizzes
/
What does print("-" * 3) show?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Loops
Created by
StemPy Lab
What does print("-" * 3) show?
---
- - -
3
-3
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student says that for i in range(1, 10) shows the numbers from 1 to 10. What is the mistake?
How many even numbers does the loop for n in range(1, 11), with an if n % 2 == 0 inside, find? →
More on
Python Basics › Loops
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
This loop should show the even numbers from 2 up to and including 10.
Medium
Write a program that asks for a password, again and again, until the user types python123.
Medium
Find the first number from 100 upwards that can be divided by both 6 and 8.
Easy
Asha saves 45 rupees every week, and has 0 at the start.
Easy
All problems on this topic →