Aboutpython: History of Python
Aboutpython: History of Python
HISTORY OF PYTHON
Python was created in the late 1980s by Guido van Rossum, a Dutch
programmer. Guido's vision was to design a language that emphasized
code readability, a concept he called "executable pseudo-code." Python's
first official release, Python 0.9.0, occurred in February 1991. Since then, it
has undergone numerous developments and refinements, and it is now
maintained by the Python Software Foundation. Its name, a nod to the
British comedy group Monty Python, reflects the language's philosophy of
keeping things fun and entertaining.
FEATURES OF PYTHON:
● Readability: Python's design is known for its readability. Its syntax,
which employs indentation and clear, concise code structure, makes
it exceptionally easy to understand. This readability is one of
Python's most celebrated features, making it an ideal choice for both
beginners and experienced developers.
● Open Source: Python is open source, which means it's free to use,
modify, and distribute. This openness promotes accessibility and
encourages contributions from a diverse range of developers.
OBJECTIVEOFTHEPROJECT
The objective of this project is to let the students apply the programming
knowledge into a real world situation and expose the students how
programming skills help in developing a good software
ABOUTTHEGAME
A Tic-Tac-Toe game created in Python is a classic and straightforward
implementation of this timeless two-player strategy game. In this Python-
based rendition, the game typically runs in a console or terminal window,
allowing players to take turns marking Xs and Os on a 3x3 grid.
HOWTHEGAMEWORKS
● Board Setup: The game begins with an empty 3x3 grid, and two
players are assigned their symbols, usually X and O.
● Turn-Based Gameplay: Players take turns making moves. They input
the row and column where they want to place their symbol, and the
program updates the board accordingly.
● Winning Condition: The game checks after each move if a player has
won by getting three of their symbols in a row horizontally, vertically,
or diagonally. If a winning condition is met, the game announces the
winner.
● Tie Game: If all the spaces on the board are filled and there is no
winner, the game ends in a tie.
● Continued Play: Players have the option to start a new game or exit
the program once the current game is finished.
KEY FEATURES:
● Simple Interface: Tic-Tac-Toe in Python typically employs a text-
based interface, making it accessible and easy to play in a terminal.
● Two-Player Interaction: The game is designed for two players, who
can take turns using the same computer.
● Logic and Rules: Python's logic and conditional statements are used
to validate moves, check for wins, and ensure the game adheres to
the rules.
column):
check_winner() is False:
if player == players[0]:
buttons[row][column]['text'] = player
else:
buttons[row][column]['text'] = player
def check_winner():
else: return
False
def empty_spaces():
spaces = 9
if spaces == 0:
return False
else: return True def
= random.choice(players)
row in range(3):
frame = Frame(window)
frame.pack()
OUTPUT SCREEN:
CONCLUSION
BIBLIOGRAPHY
SIGNATURE OF PRINCIPAL
ACKNOWLEDGEMENT
My sincere thanks also go to our guide teacher, Mr. Kapil Deva Goswami,
for her mentorship and invaluable insights throughout this project. His
dedication, patience, and guidance have been instrumental in shaping the
project.