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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, Yamari000
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
image
Computers and Technology, 23.06.2019 12:20, jshhs
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
image
Computers and Technology, 24.06.2019 00:40, ndurairajownkpq
What social factors affect your health
Answers: 3
image
Computers and Technology, 24.06.2019 14:30, tleppek6245
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
You know the right answer?
Read the following code: x = 1
while(x < 50)
print(x)
x = x + 1

Th...

Questions in other subjects: