subject

Read the following code: x = 1
while(x < 50)
print(x)
x = x + 1

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

Add a colon to the end of the statement
Begin the statement with the proper keyword
Replace the parentheses around the test condition with quotation marks
Use quotation marks around the relational operator

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Two students are discussing the flow of electricity. student a says that voltage is a measure of the amount of electron flow in a circuit. student b says that power is the product of voltage and current. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
Answers: 1
You know the right answer?
Read the following code: x = 1
while(x < 50)
print(x)
x = x + 1

Th...
Questions
question
Chemistry, 23.09.2020 17:01
question
Mathematics, 23.09.2020 17:01
Questions on the website: 13722363