Computers and Technology

Read the following code: x = 1

while(x < 26)

print(x)

x = x + 1

There is an error in the while loop. What should be fixed?

1. Add a colon to the end of the statement

2. Begin the statement with the keyword count

3. Change the parentheses around the test condition to quotation marks

4. Use quotation marks around the relational operator

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:00, rah45
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
image
Computers and Technology, 24.06.2019 23:50, fish64
What is your fav video game currently: a) roblox b) fortnite c) apex legends d) pubg
Answers: 2
image
Computers and Technology, 25.06.2019 05:00, nathan123498
Arun is 5 years older than anu. five years ago, the ratio of their ages was 3: 2 . find their present age
Answers: 2
image
Computers and Technology, 25.06.2019 17:00, jazzytazzyyy
Nasa’s long term goal is for travel in space to be as as travel across the atlantic. however, we are away from that.
Answers: 1
Do you know the correct answer?
Read the following code: x = 1

while(x < 26)

print(x)

x = x...

Questions in other subjects:

Konu
Mathematics, 12.06.2021 15:50
Konu
Arts, 12.06.2021 15:50