Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 462

FREE Credits | [Python Exercise] Help, it is easy

by Tana - 22 September, 2019 - 07:45 PM
This post is by a banned member (Tana) - Unhide
Tana  
Godlike
1.567
Posts
428
Threads
5 Years of service
#1
Hey! So my teacher gave us an exercise to do at home.

So this is the exercise:

A. will ask the user to enter the starting value of a product
B. will ask the user to enter the discount rate
C. will calculate and display the discount rate with the appropriate message

D. will calculate and display the final price (after the discount)


ill give 50 credits kek
This post is by a banned member (Wage) - Unhide
Wage  
Supreme
1.023
Posts
44
Threads
5 Years of service
#2
Only 50 credits for this? Might have trouble finding someone. :/
STREAMING & VPN ACCOUNT SHOP | CHEAP, WARRANTY, INSTANT DELIVERY

[Image: G46O86o.png]

If you enjoy my content, liking the related posts and leaving +rep on my profile is always appreciated.


Please view my profile, and verify current contact information prior to contacting me offsite.
I contribute to this community for educational, entertainment and research purposes only, therefore I do not claim or hold responsibility for others actions.
This post is by a banned member (Her) - Unhide
Her  
Angelic
2.215
Posts
412
Threads
6 Years of service
#3
kinda sad u cant do this kek
This post is by a banned member (Tana) - Unhide
Tana  
Godlike
1.567
Posts
428
Threads
5 Years of service
#4
(This post was last modified: 22 September, 2019 - 07:48 PM by Tana.)
(22 September, 2019 - 07:46 PM)Wage Wrote: Show More
Only 50 credits for this? Might have trouble finding someone. :/

haha <3

let's see if anyone can help:)

(22 September, 2019 - 07:47 PM)Her Wrote: Show More
kinda sad u cant do this kek

im lazy buddy.. af
This post is by a banned member (Wage) - Unhide
Wage  
Supreme
1.023
Posts
44
Threads
5 Years of service
#5
(22 September, 2019 - 07:48 PM)Tana Allen Wrote: Show More
(22 September, 2019 - 07:46 PM)Wage Wrote: Show More
Only 50 credits for this? Might have trouble finding someone. :/

haha <3

let's see if anyone can help:)

(22 September, 2019 - 07:47 PM)Her Wrote: Show More
kinda sad u cant do this kek

im lazy buddy.. af

I hope so. BOL! <3
STREAMING & VPN ACCOUNT SHOP | CHEAP, WARRANTY, INSTANT DELIVERY

[Image: G46O86o.png]

If you enjoy my content, liking the related posts and leaving +rep on my profile is always appreciated.


Please view my profile, and verify current contact information prior to contacting me offsite.
I contribute to this community for educational, entertainment and research purposes only, therefore I do not claim or hold responsibility for others actions.
This post is by a banned member (xMoses) - Unhide
This post is by a banned member (Tana) - Unhide
Tana  
Godlike
1.567
Posts
428
Threads
5 Years of service
#7
(22 September, 2019 - 07:53 PM)xMoses Wrote: Show More
Code:
bill = int(input("Enter bill amount:"))
discount = int(input("Enter discount percentage:"))
output = bill - (bill * discount / 100)
print("After discount your bill is: ", output)

sometimes u just gotta do a google search 

https://reviewdb.io/posts/1526395839132/...e-discount

edit: where is my 50 credits

done, ty kek

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)