subject
Computers and Technology, 22.02.2021 21:50 AM28

3. Observe the following program and answer the questions that follow: city= [ "DEL", "CHN", "KOL", "BOM", "BNG"]
for I in range(1.4):
Fly = random. randrange (0,2) + 1;
print( city[Fly).end=":")
(a) What is the minimum and maximum number of times the loop will execute?
(h) Find out, which line of output(s) out of (i) to (iv) will not be expected from the program?
#Output Options:
i. DEL: CHN: KOL: i. CHN: KOL: CHN:
iii. KOL: BOM : BNG: iv. KOL: CHN : KOL:​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
5. illustrate how fine-line inventory classification can be used with product and market segments. what are the benefits and considerations when classifying inventory by product, market, and product/market?
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
You know the right answer?
3. Observe the following program and answer the questions that follow: city= [ "DEL", "CHN", "KOL",...
Questions
question
Mathematics, 20.09.2020 07:01
question
Mathematics, 20.09.2020 07:01
question
Mathematics, 20.09.2020 07:01
question
Mathematics, 20.09.2020 07:01
Questions on the website: 13722360