Hello I am new to python and I am having an issue with this function. Basically I’m trying to create a card game, and I know I’ve started it wrong anyway according to the question, but I have started doing it this way and I want to finish this before I change it completely. My def function seems to not be working, even when I print it.
This is probably a very small and obvious mistake but I am new, also some of the rest of my code may be wrong obviously. I am using trinket.
Thank you for reading
I tried to print it and return it within the define statement, and redefine the variables. i think this issue maybe be something small that I haven’t learnt, or a larger problem overall in the code.
source https://stackoverflow.com/questions/74790322/why-is-my-def-function-not-working-in-python
Comments
Post a Comment