Share
What is the output of the below program?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
def abc():
print(“The”)
return “Data”
return”Monk”
print(abc())
Answers ( 9 )
The
Data
The
Data
The
Data
The
Data
The
Data
The
Data
def abc():
print(‘The Data Monk’)
return ”
print(abc())
Output: ‘The Data Monk’
The Data
OUTPUT:THE DATA
This will be because any function will only return one value when it is called.