Question: write the code by pythone Print vs return Write a function with two input strings in the definition: name and surname. And it must print
write the code by pythone
Print vs return
Write a function with two input strings in the definition: name and surname. And it must print the capitalization of the inputs. To get the capitalization of a string named name, you use: name.capitalize().
Write the function and the main required to test it.
| Reply below (only code here): |
|
|
Write a function with two input strings in the definition: name and surname. And it must return 2 variables, Name and Surname, respectively, that are the capitalization of the inputs. To get the capitalization of a string named name and save it in Name, use: Name=name.capitalize().
Write both the function and the main required to test it.
| Reply below (only code here): |
|
|
Provide the screenshot of the run output (entire screen, no cuts).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
