Python Forum
Can't get this Code to Run
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get this Code to Run
#1
I have tried to go about this and I can't get it to run. What am I doing wrong????

def price(pencil, book, discount, state_tax, shipping):
    pencil = 5
    book = 5
    discount = .30
    state_tax = .5
    shipping = 7.50
    price_1 = pencil + book + discount + state_tax +shipping
    print = price_1
Reply


Messages In This Thread
Can't get this Code to Run - by dd3d - Jan-28-2018, 10:23 PM
RE: Can't get this Code to Run - by j.crater - Jan-28-2018, 10:53 PM
RE: Can't get this Code to Run - by dd3d - Jan-28-2018, 10:56 PM
RE: Can't get this Code to Run - by j.crater - Jan-28-2018, 11:02 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020