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 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
Get step-by-step solutions from verified subject matter experts
