 
                 
                InterviewSolution
 Saved Bookmarks
    				| 1. | WAP to accept no. of hours worked and rate per hour using method call. Calculate the wages of a worker as: hours*rate. | 
| Answer» tion:hrs = INPUT("ENTER HOURS:")h = float(hrs)xx = input("Enter the Rate:")x = float(xx)if h <= 40: print( h * x)elif h > 40: print(40* x + (h-40)*1.5*x) | |