+ 5

I changed the code and distorted it to understand the interference of the parameters. Look at the code. I do not understand.

https://code.sololearn.com/c4k84t8eq3oT/?ref=app

2nd Apr 2018, 2:36 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
2 Respuestas
+ 2
What do you not understand about it?
2nd Apr 2018, 3:27 PM
TurtleShell
TurtleShell - avatar
+ 2
Your function prints the 3rd argument called foo. function(00000,"4", 1,) ##prints 1 function("e","80ghuytreghj", "eg")##prints "eg" The default value "spa" will be printed if you do not provide it. e.g.: function(00000,"4") ##prints "spa"
3rd Apr 2018, 11:31 AM
Loïc Mahé
Loïc Mahé - avatar