1 member

num_books = int(input("Enter the number of books you want to buy: ")) book_price = 2.75 total_cost = num_books * book_price print("The total cost of", num_books, "books is $", total_cost)

Built With

Share this project:

Updates