Consider the following statements with range() function and write what series of numbers
would be produced or not produced by each statement:
i. range (9)
ii. range (2,9,1)
iii. range (1,25,-1)
iv. range ( 1, 17, 2)
v. range ( 10,1,-1)
plzz i need this ans ( brother nd sister) plzz give with explenation
Answers
Answered by
1
Answer:
Output:
i) 0
1
2
3
4
5
6
7
8
ii) 2
3
4
5
6
7
8
iii) No Output means the program will give no output but it won't give error
iv) 1
3
5
7
9
11
13
15
v) 10
9
8
7
6
5
4
3
2
Hope you may get it
Mark as brainliest
Thank You...
Similar questions
English,
3 months ago
Science,
3 months ago
English,
6 months ago
Political Science,
6 months ago
Biology,
11 months ago
Environmental Sciences,
11 months ago