Unable to retrieve variable assigned in function
Unable to retrieve variable assigned in function Question: I am writing a function where it gets input from the user and sets the variable answer to the answer the user gives. I am printing answer outside of the function, but for some reason, it doesn’t print anything. answer = " " # set empty in …