+ 1
How can I make a 3rd input for python optional, struggling and can't find answer?
6 Respostas
+ 2
GuitarThePun tries this code. here 3rd input is optional if the user does not give the 3rd input then z will use it's the default value which is 0.you can change the z value according to your need if you want just to replace the value of z.
https://code.sololearn.com/c9RjGMZiOMML/?ref=app
+ 2
Please elaborate more.give some example so that we can help you.
+ 1
Thank you very much!
0
https://code.sololearn.com/cl4EL9N4Prw5/?ref=app
I'm trying to make a calculator, but I would like to make so that when I square a number, I don't have to make a 3rd input