Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:50, edenlbarfield
Which are steps taken to diagnose a computer problem? a) reproducing the problem and using error codes b) reproducing the problem and troubleshooting c) using error codes and troubleshooting d) using error codes and stepping functions
Answers: 1
image
Computers and Technology, 22.06.2019 20:40, broang23
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
image
Computers and Technology, 23.06.2019 07:30, Braxtonw875
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
image
Computers and Technology, 23.06.2019 12:00, muncyemily
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
Do you know the correct answer?
Read the following code: x = 1
while(x < 50)
print(x)
x = x + 1

Th...

Questions in other subjects:

Konu
SAT, 16.12.2020 23:20
Konu
Health, 16.12.2020 23:20
Konu
Mathematics, 16.12.2020 23:20
Konu
Mathematics, 16.12.2020 23:20