🔥 Burn Fat Fast. Discover How! 💪

#CODE_CHALLENGE_2 #FUNCTION #LIST_SLIC #STRING 1. Commercial | EPYTHON LAB

#CODE_CHALLENGE_2 #FUNCTION #LIST_SLIC #STRING

1. Commercial bank of Ethiopia realized that their policy of using the first five letters of an employee’s last name as a user name isn’t ideal when they have multiple employees with the same last name.

Write a function called account_generator that takes two inputs, first_name and last_name and concatenates the first three letters of each and then returns the new account name.

2. They also wants to update how they generate temporary passwords for new employees.

Write a function called password_generator that takes two inputs, first_name and last_name and then concatenate the last three letters of each and returns them as a string.

Example: first_name = "Asibeh"
last_name = "Tenager"

expected output: user_name = AsiTen
temp_password = behger

Post your solution in the comment box
@epythonlab