Coursera : Python For everybody assignment 3.1 solution (Getting started with python ) week 5

preview_player
Показать описание
Program :
hrs = input("Enter Hours")
h = float(hrs)
rat = input("Enter Rates")
r = float(rat)
additional = h - 40
a = float(additional)
pay = h * r
grosspay = (h - a) * r + (a * r * 1.5)
p = float(pay)
gp = float(grosspay)
if h (smaller than symbol)= 40 :
print(p)
elif h (bigger than symbol) 40 :
print(gp)
......................................................................................................
NOTICE :
we didn't use the smaller than symbol or bigger than in the discripthion because You tube don't allowed to use it.
.....................................................................................................
Music :
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
.....................................................................................................
#assignment3
#pythonforeverybody
....................................................................................................
Don't forget to like and comment.
SUBSCRIBE NOW.
Thanks for watching.
Рекомендации по теме
visit shbcf.ru