Multiple Choice
What is the output of the following code?
Sum = 0
For value in range(1,4) :
Sum += value
Print(sum)
A) 5
B) 10
C) 4
D) 6
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: A tuple is an immutable sequence of
Q25: Which of the following correctly defines a
Q26: Which comparison operation returns True if variable
Q27: What is the name of the function
Q28: Which of the following statements creates a
Q30: If you print the string "Hello, it
Q31: Which statement allows a programmer to run
Q32: The while statement uses the syntax while
Q33: What is the last line of output
Q34: Python programs require two or more modules.