Suppose a cashier asks you to write a function that calculat…

Suppose a cashier asks you to write a function that calculates the minimum number of coins he/she needs for reimbursing the remaining balance of the customer. For example, the cashier needs to pay back $27.65 to the customer, and he/she can only use quarter, dime, and penny. What combination of these coins should he/she use to minimize the number of coins? 

Write a function that gets two parameters (arguments) from t…

Write a function that gets two parameters (arguments) from the user and if both of them are integers, it returns the result of the first parameter to the power second parameter (X**Y). If both parameters are strings, the function concatenates them (‘X’+’Y’) and returns the result, otherwise, it returns an error message and gets two new inputs.

Consider the previous example but assume that the number of…

Consider the previous example but assume that the number of available coins is also known and limited. For example, there are only 20 Dimes left. The number of available coins must also be passed into the function as a parameter. Previous: Suppose a cashier asks you to write a function that calculates the minimum number of coins he/she needs for reimbursing the remaining balance of the customer. For example, the cashier needs to pay back $27.65 to the customer, and he/she can only use quarter, dime, and penny. What combination of these coins should he/she use to minimize the number of coins? 

Write a function that gets the user’s username and password….

Write a function that gets the user’s username and password. Then it checks if the username exists in a pre-defined dictionary of the registered users. If the username is found, then it checks for the corresponding password. If the password matches, then it returns (True) value. If the password does not match, it returns “False”. If the username does not exist in the dictionary, it asks for a new username and password and informs them that “user not found”.