
For цикл
Presentation
•
Computers
•
KG
•
Practice Problem
•
Medium
Romenion Kz
Used 51+ times
FREE Resource
15 Slides • 19 Questions
1
For
цикл
2
range
диапозон
3
for .... in range ....
4
for i in range(3):
print(i)
RUN=>
0
1
2
5
for i in range(0,5):
print(i)
RUN=>
0
1
2
3
4
6
for i in range(1,10,2):
print(i)
RUN=>
1
3
5
7
9
7
for i in range(10,1,-2):
print(i)
RUN=>
10
8
6
4
2
8
Multiple Select
1)for i in range(9,4,-3):
print(i)
A)9 6
D) 9 4 0
C) 9 5 1 -3
B) 9 6 3 0
9
Multiple Select
2)for i in range(3):
print(i)
D) 1 2 3
A)0 1 2
C) 1 2
B) 0 1 2 3
10
Multiple Select
3)for i in range(5,9,4):
print(i)
C)4 5 7 9
A)5
D)5 7 9
B)5 9
11
Multiple Choice
for i in range(8,1,-4):
print(i)
C)8 5 1
D)8 4 1 -1
B)8 4 1
A)8 4
12
Multiple Choice
for i in range(2,7,2):
print(i)
C)2 4 5 7
D)2 5 8
B)2 4 6 8
A)2 4 6
13
Multiple Choice
for i in range(4):
print(i)
D)0 2 3
A)0 1 2 3
C)1 2 3
B)1 2 3 4
14
Multiple Choice
for i in range(5):
print(i)
B)1 2 3 4 5
C)1 2 3 5
D)0 2 3 5
A)0 1 2 3 4
15
Multiple Choice
for i in range(9,10):
print(i)
C)9 10 11
D)9 11
B)9 10
A)9
16
Multiple Choice
for i in range(2,5):
print(i)
C)2 4 5
D)2 5
B)2 3 4 5
A)2 3 4
17
Multiple Choice
for i in range(3,7):
print(i)
B)3 5 7
C)2 3 4 5
D)3 4 6 7
A)3 4 5 6
18
Multiple Choice
for i in range(-1,4,2): print(i)
C)0 2 4
D)-1 3
A)-1 1 3
B)1 2 4
19
Multiple Choice
for i in range(6,4,-1):
print(i)
B)6 4 2
D)6 5 4
C)6 4
A)6 5
20
Multiple Choice
for i in range(9,5,-2): print(i)
A)9 7
C)9 8
D)9
B)9 8 7
21
Multiple Choice
for i in range(2,9,3):
print(i)
D)2 4 6 8
C)2 7 9
B)2 5 7 9
A)2 5 8
22
for i in range(1,10):
if i%2==0:
print(i)
RUN=>
2
4
6
8
23
for i in range(1,10):
if i%2==0:
print(i,end=',')
RUN=>
2,4,6,8
24
for i in range(1,10):
if i%2!=0:
print(i)
RUN=>
1
3
5
7
9
25
for i in range(1,10):
if i%2!=0:
print(i,end=',')
RUN=>
1,3,5,7,9
26
Multiple Choice
for i in range(1,10):
if i%3=1:
print(i,end=',')
RUN=>
3, 6, 9
7
1, 4, 7
7, 4
27
Multiple Choice
for i in range(1,10):
if i%3==0:
print(i,end=',')
RUN=>
3, 6, 9
1, 3, 6, 9
6, 9
3, 6, 9, 12
28
Multiple Choice
for i in range(1,10):
if i%3!=0:
print(i,end=',')
RUN=>
1,2,4,5,7,8,
1,2,4,5
4,5,7,8,
1,2,7,8,
29
Multiple Choice
for i in range(10,20):
if i%4==0:
print(i,end=',')
RUN=>
12,16
10,12,14,16,18
12,16,20
16,20
30
Multiple Choice
for i in range(10,20):
if i%4!=0:
print(i,end=',')
RUN=>
10,11,13,14,15,17,18,19,
10,12,14,16,18
14,15,17,18,19,
10,11,13,14,15,17
31
Составь программу, которая выводит на экран все чётные числа в диапазоне от K до N (1 ≤ K ≤ N ≤ 100).
Пример:
Входные данные: 23 35
Результат: 24 26 28 30 32 34
32
33
Составь программу, которая выводит на экран все двузначные числа с одинаковыми цифрами в диапазоне до числа N (10 ≤ N ≤ 99). Двузначные числа начинаются с 10.
Пример:
Входные данные: 34
Результат: 11 22 33
34
For
цикл
Show answer
Auto Play
Slide 1 / 34
SLIDE
Similar Resources on Wayground
26 questions
Pythong Basics
Presentation
•
5th - 8th Grade
27 questions
Lesson - Separation of Powers & Checks and Balances
Presentation
•
8th Grade
27 questions
Biomolecules
Presentation
•
9th - 12th Grade
27 questions
ICDL 3 - Phần mềm (19-22)
Presentation
•
3rd Grade
31 questions
CS Lesson 4
Presentation
•
6th - 8th Grade
24 questions
ACERTIJOS
Presentation
•
7th Grade
28 questions
(Aula 4) - Introdução ao Python - Condicionais I
Presentation
•
9th - 12th Grade
28 questions
1.2 Algorithms
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
11 questions
Positive Relationships
Presentation
•
KG
19 questions
Fire Safety
Quiz
•
KG - 2nd Grade
36 questions
8th Grade US History STAAR Review
Quiz
•
KG - University
20 questions
Capitalization in sentences
Quiz
•
KG - 4th Grade
25 questions
5th Grade Science STAAR Review
Quiz
•
KG - University
10 questions
Counting Nickels and Pennies
Quiz
•
KG - 2nd Grade
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
13 questions
Time
Quiz
•
KG - 2nd Grade