Question: Question 3 . (4 points) Write a Python function with 5 input values bibformat(author, title, city, publisher, year) which returns a string in format: author(year).

 Question 3 . (4 points) Write a Python function with 5

Question 3 . (4 points) Write a Python function with 5 input values bibformat(author, title, city, publisher, year) which returns a string in format: author(year). title. city: publisher (see examples in the tests section below). The type contract of the function is: (str,str,str,str, int)->str. Question 4. (4 points) Write a Python function called bibformatPrint() that reads from the keyboard the title of a book, the name of the author, the year of publication, the publisher and the city of the publisher. The type contract of the function is: 0> None. The function must display the information about the bpok in the format specified in question 3 . You must use the bibformat function from question 3 to obtain the string of characters to print

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!