Single Choice Not Set

QWhat will be the output after the following statements?
b = 3
for a in range(10, 1):
 b -= a + 1
print(b)

ID: #3773 Python Functions MCQ 181 views
Question Info
#3773Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 7
  • B 8
  • C 3
  • D 4
Correct Answer

Explanation

3

Share This Question

Challenge a friend or share with your study group.