Python Tutorial | Weekly pay program | step by step tutorial calculate a weekly pay | with source cd
Channel: ndi_shima1
Date: 2020-08-16

This program calculate a weekly pay for employees.
source code available below copy and paste into your editor test run.
do not forget to like & subscribe.!

hourlyRate=8.75
currency='£'
daylyHours=input('Enter daily hours: ')
daysOfTheWeek=input('How many days a week? ')
#doing computation
toTalHoursPerWeek=float(daylyHours)* int(daysOfTheWeek)
payDay=float(toTalHoursPerWeek)*int(hourlyRate)
    
print()
print('Hours a days: ',daylyHours)
print('Hours a week:',toTalHoursPerWeek)
print('Hourly Rate:',hourlyRate)
print(currency+'',payDay,''+'NET PAY A WEEK')