subject

Read the following code: n = 3

while(n <= 5):

print(n)

n = n + 1

What output would be produced for the given values of n?

A. 0 1 2 3 4

B. 1 2 3 4 5

C. 2 3 4

D. 3 4 5

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
In a compound condition, both conditions on either side of the logical operator and must be true for the overall condition to be true. a: true b: false
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
When early motion pictures played in movie theaters, they were often accompanied by live organ or piano music. which of the following are the most likely reasons that this happened? (select all that apply). the music was provided to distract audience members from the loud sounds made when filmstrips were changed. the music accompanied the movies because the movies were silent and audiences were used to hearing music during plays in theaters. the music usually was played before, and sometimes after the movie, as an alternative form of entertainment. the music viewers to interpret the dramatic action in the films.
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
Read the following code: n = 3

while(n <= 5):

print(n)

n = n...
Questions
question
Mathematics, 29.03.2021 17:30
question
English, 29.03.2021 17:30
question
Mathematics, 29.03.2021 17:30
question
Mathematics, 29.03.2021 17:30