MCQ Single Best Answer Not Set

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

ID: #3771 Python Functions MCQ 206 views
Question Info
#3771Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A 14
  • B 16
  • C 20
  • D 25
Correct Answer: Option B

Explanation

16

Share This Question

Challenge a friend or share with your study group.