500 likes | 765 Views
Guide to Programming with Python. 2. Objectives. Write your own functionsAccept values into your functions through parametersReturn information from your functions through return valuesWork with global variables and constantsCreate a computer opponent that plays a strategy game. Guide to Program
E N D
1. Guide to Programming with Python Chapter Six (Part 1)
Functions: The Tic-Tac-Toe Game
2. Guide to Programming with Python 2 Objectives Write your own functions
Accept values into your functions through parameters
Return information from your functions through return values
Work with global variables and constants
Create a computer opponent that plays a strategy game
3. Guide to Programming with Python 3 The Tic-Tac-Toe Game Figure 6.1: Instructions screen of the Tic-Tac-Toe game The computer is full of... confidence.