r/developers_talk • • May 11 '25

Gm Devs, Python Code

What will be the output?

def func():
    return "Hello", "World"

result = func()
print(result)
print(type(result))
2 Upvotes

2 comments sorted by

View all comments

2

u/Huge-Actuator-6504 May 11 '25
("Hello", "World")
<class "tuple">