Python Forum
Help turning game into function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help turning game into function
#5
Well you can turn any code into a function by indenting it and putting the def header above it. If you have a specific attempt, you should post it, since there's not much help we can provide without seeing the exact problem-code.
Reply


Messages In This Thread
Help turning game into function - by kixxm - Nov-29-2017, 04:35 AM
RE: Help turning game into function - by metulburr - Nov-29-2017, 04:41 AM
RE: Help turning game into function - by micseydel - Nov-29-2017, 07:55 PM
RE: Help turning game into function - by kixxm - Nov-29-2017, 09:14 PM
RE: Help turning game into function - by micseydel - Nov-29-2017, 09:18 PM
RE: Help turning game into function - by kixxm - Nov-29-2017, 09:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TicTacToe Game Add Exception Handling and Warning Function ShaikhShaikh 5 2,508 Nov-03-2021, 05:02 PM
Last Post: deanhystad
  Turning Robot towards goal, comparison of angles SpaceTime 0 2,809 Jan-21-2019, 10:26 PM
Last Post: SpaceTime

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020