this is just a function definition. you never call it. do you get any traceback? describe exactly what the problem is.
Also never use
Also never use
input
as variable name - you override the input()
function
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs