Prachi K.

asked • 03/01/20

Write a function

Write a function that accepts two arguments: a string name of a movie and an integer running time in minutes. Provide a default value for the minutes so that if you call the function without an integer argument, the minutes default to 90. Write a main() function that proves you can call the function with a string argument alone as well as with a string and an integer.

1 Expert Answer

By:

Saqib H. answered • 03/02/20

Tutor
5.0 (48)

Senior Software Engineer specialized in Python and Java

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.