Question: Python Write a simple python program that performs the following 1- The program is called project3.py and runs by executing the following command on the

 Python Write a simple python program that performs the following 1-

Python Write a simple python program that performs the following 1- The program is called project3.py and runs by executing the following command on the command-line python project3.py 2- The program has two functions: a. main() b. toUpper(s) 3- When the program runs, the main() function is called. 4 The toUpper(s) function receives the string s as the parameter and returns the uppercase form on the received string. 5- In the main() function, a. Define a string variable called hw and set its value to "Hello World! b. Print hw c. Call the toUpper function with hw as its argument; i.e. toUpper(hw) and assign the returned value to another variable called HW d. Print HW e. Print "Done" 6Add comments to your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!