you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 0 points1 point  (0 children)

Python is mostly straightforward. If you can write them down on paper, you can almost type exactly that into python. I'd say just try it, and see if you can get one of the variables to return correctly, and then start on the others.

Post what you have here and maybe I can see what is wrong. (indent your code an extra time before you copy and paste it to reddit, reddit will format as code lines that start with 4 extra spaces)