Tool: Python 3.6, Use SQL if you ever used it before.
1. Write a program which will input the seconds and will convert it into hours, minutes and seconds. For example: If the input is 125seconds then the output should be 0 hours, 2 minutes and 5 seconds. [login to view URL]
is the function
2. Use conditional operators and simulate the working of ATM: [login to view URL] is the function
(a) Once the user enters the card then ask to enter the PIN, validate the PIN and give the user options
as 1. Check Balance, 2. Withdrawal, 3. Deposit.
(b) If the user has entered the invalid PIN then give him/her the option to enter the PIN three times only.
(c) Please justify why you used particular conditional operator only and not others, for example you can use ìif statementî or ìwhileî to check the condition but computationally one will be efficient then other.
3. If possible, add a condition that will ask for the phone number of the user as an alternative after the three
times attempts. This should also be validated from another dataset containing the users phone numbers.
[login to view URL] is the function.
Tool: Python 3.6, Use SQL if you ever used it before.
Hi
I am an Engineering undergraduate experienced in python for more than 4 years. I can do this for you. Please message to discuss further on this
Thanks
Note-please check my profile fro past projects and reviews.
I can write quality codes in python using conditionals and loops in order to achieve desired output , the whole code or program can be delivered within the deadline.