A sign-up form saves emails exactly as people type them, with stray spaces and random capitals. Before matching them against the customer list, they need to look the same every time.
Write a function clean_email(email) that removes spaces from both ends and makes every letter lower case.
How it's checked
Your code runs, then the check below runs and its printed output is compared with ours.
clean_email(" Ana.Lee@Mail.COM ") returns "ana.lee@mail.com"def clean_email(email):
...