MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1mpuzhh/why_i_didnt_getting_default_value/n8malhc/?context=3
r/PythonLearning • u/Red_Priest0 • Aug 14 '25
18 comments sorted by
View all comments
8
an empty string is still a parameter. to be able to use the default value of 'to', you'll need to call hello() without any parameters. you can implement that logic in your code
8
u/niket23697 Aug 14 '25
an empty string is still a parameter. to be able to use the default value of 'to', you'll need to call hello() without any parameters. you can implement that logic in your code