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
6.7k points
2 votes

Answer:

6

Step-by-step explanation:

User Giles Thompson
by
7.5k points