Computer Science (Python) > computational-thinking-and-programming-2 > Functions
What will be the output of the following Python code?
i = 5
print(i, end='@@')
def add():
global i
i = i + 7
print(i, end='##')
add()
print(i)
Current Session
Community Stats
Track Your Progress
Sign up to save your practice progress and get personalized insights across all topics.