❔ Interview question
What is the output of the following code?
Answer:
<class ' tuple '>
tags: #python #interview #coding #programming #function #returnvalues #tuple #dev
By: t.iss.one/DataScienceQ 🚀
What is the output of the following code?
def my_func():
return "hello", "world"
result = my_func()
print(type(result))
Answer:
tags: #python #interview #coding #programming #function #returnvalues #tuple #dev
By: t.iss.one/DataScienceQ 🚀