Created
January 18, 2020 00:51
-
-
Save yosefsadek/9dce47cc0fbea117c123c3b19b08f9ea to your computer and use it in GitHub Desktop.
py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hours = int(input("Enter the number of hours worked: ")) | |
bears = int(input("Enter the number of toy made: ")) | |
hourswage = hours * 7 | |
bearswage = bears * 0.45 | |
total = hourswage + bearswage | |
print("Your total wage is: £{:.2f}".format(total)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment