If return statement is not inside the function,the function will return | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

If return statement is not inside the function,the function will return

Options 0 None object An arbitrary integer Error

1st Apr 2020, 5:08 PM
Ajay Padhan
Ajay Padhan - avatar
2 Answers
+ 1
yes, Rainman in Python the function returns None in such case.
1st Apr 2020, 5:30 PM
John Robotane
John Robotane - avatar
0
it depends on language I would say.
1st Apr 2020, 5:19 PM
nichdiomajadoch