Python function problem
Can someone please explain to me why this is not working.
u = input("Please enter your name: ")
Please enter your name: Kieran
Name Error: Name 'u' is not defined.
How do i go about defining a variable whilst creating a function?
ps I am new to python and coding in general as im sure you can tell.