What possible outputs(s) are expected to …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
What possible outputs(s) are expected to be displayed on screen at the time of
execution of the program from the following code? Also specify the maximum values
that can be assigned to each of the variables Lower and Upper. 3 points
import random
AR=[100,200,300,400,500,600]
Lower =random.randint(2,3)
Upper =random.randint(4,5)
for K in range(Lower, Upper+1):
print (AR[K],end="#")
outputs :
(i) 200#300#400# (ii) 400#500#
(iii)300#400#500# (iv) 400#500#600
Posted by Aman Singh 4 years, 3 months ago
- 1 answers
Related Questions
Posted by Prawar Narang 1 year, 3 months ago
- 1 answers
Posted by Priya Shukla 1 year, 3 months ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 4 months ago
- 2 answers
Posted by Hanni Pham 1 year, 1 month ago
- 0 answers
Posted by Syedali Fathima 1 year, 3 months ago
- 1 answers
Posted by Hanni Pham 1 year, 1 month ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Abhishek Kumar 4 years, 2 months ago
0Thank You