Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Fix Parameters & Return Function in Python Program Code?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 458
    Answer it

    How do I code the following program in Python? 

     

    [![program I have doubts in][1]][1]

     

    (forget the third point)

     

    This is what I've tried: 

        def bookstore(price,book):
            price= input('enter_price: ')
            book= input('enter_book: ')

     

    And I'm stuck here. Could you help me?


    Thank you.

      [1]: https://i.stack.imgur.com/m4I6e.jpg

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: