118k views
4 votes
The code below is repetitious. What is the output of this program?

num = 3
num = num + 1
num = num + 1
num = num + 1
print(num)

2 Answers

2 votes

Answer:

6

Step-by-step explanation:

Edge 2021

User Paradoxyde
by
5.4k points
2 votes

Answer:

6

Step-by-step explanation:

User Giles Thompson
by
5.9k points