What is the output of the following code?
sum = 0value = 3while value <= 5: sum += value value += 1print(sum)
A. 15
B. 10
C. 12
D. 18
Answer: C
Computer Science & Information Technology
You might also like to view...
Themes must be applied to all of the objects within the database
Indicate whether the statement is true or false
Computer Science & Information Technology
An AMR slot is generally used with which of the following interface card types?
A. Video game emulator card B. Video capture card C. Modem D. Mini-PCI card
Computer Science & Information Technology