SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
PYTHON
PROGRAMMING
TIC TAC TOE
PRESENTED BY
M.Lokeshwar
21691A04C1
CONTENTS
INTRODUCTION
OBJECTIVE
OVERVIEW
ALGORITHM
SAMPLE OUTPUT
CONCLUSION
INTRODUCTION
PYTHON PROGRAMMING
Python is a high-level, interpreted, and dynamically-typed
programming language known for its simplicity, readability, and versatility.
Here are some key aspects and features of Python programming.
IMPORTANCE OF PYTHON
PROGRAMMING
Readability and Simplicity
Versatility
Rapid Development
Large Standard Library
FUNDAMENTALS OF PYTHON
PROGRAMMING
1. Variables and Data Types
2. Control Flow
3. Functions
4. Lists and Iterables
5. Dictionaries
6. Strings and String Manipulation
7. Exception Handling
8. Classes and Object-Oriented Programming
9. File Handling
10. Modules and Libraries
APPLICATIONS OF PYTHON
1. Web Development
2. Data Science and Machine Learning
3. Artificial Intelligence
4. Automation and Scripting
5. Scientific Computing
6. Game Development
7. Desktop GUI Applications
8. Backend Development
9. Education
10. DevOps and Infrastructure Automation
OBJECTIVE
The objective of the Tic-
Tac-Toe project is to create a
simple and interactive console-
based game using Python,
serving as a hands-on learning
experience for beginners to
reinforce fundamental
programming concepts such as
lists, loops, conditionals,
functions, and user input.
OVERVIEW
The project is a console-based Tic
Tac Toe game written in Python. Players
take turns making moves on a 3x3 grid until
there's a winner, a tie, or players decide to
restart. The code uses simple algorithms to
check for wins and validates user input.
ALGORITHM
1.Game Initialization
2.Printing the Game Board
3.Player Moves and Input Validation
4.Checking for a Win
5.Game Flow and Restart
6.Main Function and Execution
SAMPLE OUTPUT
CONCLUSIO
N
The Tic-Tac-Toe project in Python
provides a hands-on introduction to
essential programming concepts. It
demonstrates the use of lists, loops,
conditionals, and functions to create a
functional and interactive game. This
project is particularly useful for beginners,
offering a clear structure and encouraging
algorithmic thinking. The simplicity of the
game, coupled with Python's readability,
makes it an accessible and educational
example for those learning or teaching
programming fundamentals
THANK YOU


Contenu connexe

Similaire à Python programming using Python OOPS con

Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMindfire LLC
 
Mastering Python Programming.pdf
Mastering Python Programming.pdfMastering Python Programming.pdf
Mastering Python Programming.pdfKajal Digital
 
Is Python the Future of Programming
Is Python the Future of ProgrammingIs Python the Future of Programming
Is Python the Future of ProgrammingInexture Solutions
 
Untitled document (12).pdf
Untitled document (12).pdfUntitled document (12).pdf
Untitled document (12).pdfcollinscafe
 
Advantage of Phyton Language for Development.pdf
Advantage of Phyton Language for Development.pdfAdvantage of Phyton Language for Development.pdf
Advantage of Phyton Language for Development.pdfvegasystemsusa
 
Python Scope In Future
Python Scope In FuturePython Scope In Future
Python Scope In FutureNaveenJindal20
 
Python Prodigy: Unraveling the Secrets of High-Level Programming
Python Prodigy: Unraveling the Secrets of High-Level ProgrammingPython Prodigy: Unraveling the Secrets of High-Level Programming
Python Prodigy: Unraveling the Secrets of High-Level ProgrammingUncodemy
 
Python Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPython Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPRIYASAGIG
 
What Is The BEST WAY TO LEARN PYTHON In 2023.pptx
What Is The BEST WAY TO LEARN PYTHON In 2023.pptxWhat Is The BEST WAY TO LEARN PYTHON In 2023.pptx
What Is The BEST WAY TO LEARN PYTHON In 2023.pptxcalltutors
 
Python Programming Careers
Python Programming Careers Python Programming Careers
Python Programming Careers NaveenJindal20
 
Python Course in Delhi.pdf
Python Course in Delhi.pdfPython Course in Delhi.pdf
Python Course in Delhi.pdftarun
 
Programming for data science in python
Programming for data science in pythonProgramming for data science in python
Programming for data science in pythonUmmeSalmaM1
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT avinashnit
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT avinashnit
 
PYTHON COURSE IN KHANNA
PYTHON COURSE IN KHANNAPYTHON COURSE IN KHANNA
PYTHON COURSE IN KHANNAtanukashyap18
 
Python Course in Delhi and its Applications.pptx
Python Course in Delhi and its Applications.pptxPython Course in Delhi and its Applications.pptx
Python Course in Delhi and its Applications.pptxromilathakur59
 
why choose python
why choose pythonwhy choose python
why choose pythonsafvanaslam
 
Why Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxWhy Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxOnGraph Technologies Pvt. Ltd.
 

Similaire à Python programming using Python OOPS con (20)

Migration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent DecisionMigration of Applications to Python is the most prudent Decision
Migration of Applications to Python is the most prudent Decision
 
Mastering Python Programming.pdf
Mastering Python Programming.pdfMastering Python Programming.pdf
Mastering Python Programming.pdf
 
Python Mastery Made Easy.pdf
Python Mastery Made Easy.pdfPython Mastery Made Easy.pdf
Python Mastery Made Easy.pdf
 
Is Python the Future of Programming
Is Python the Future of ProgrammingIs Python the Future of Programming
Is Python the Future of Programming
 
Untitled document (12).pdf
Untitled document (12).pdfUntitled document (12).pdf
Untitled document (12).pdf
 
Advantage of Phyton Language for Development.pdf
Advantage of Phyton Language for Development.pdfAdvantage of Phyton Language for Development.pdf
Advantage of Phyton Language for Development.pdf
 
Python Scope In Future
Python Scope In FuturePython Scope In Future
Python Scope In Future
 
Python Prodigy: Unraveling the Secrets of High-Level Programming
Python Prodigy: Unraveling the Secrets of High-Level ProgrammingPython Prodigy: Unraveling the Secrets of High-Level Programming
Python Prodigy: Unraveling the Secrets of High-Level Programming
 
Python Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for BeginnersPython Essentials A Quick Guide for Beginners
Python Essentials A Quick Guide for Beginners
 
What Is The BEST WAY TO LEARN PYTHON In 2023.pptx
What Is The BEST WAY TO LEARN PYTHON In 2023.pptxWhat Is The BEST WAY TO LEARN PYTHON In 2023.pptx
What Is The BEST WAY TO LEARN PYTHON In 2023.pptx
 
Python Programming Careers
Python Programming Careers Python Programming Careers
Python Programming Careers
 
Python Course in Delhi.pdf
Python Course in Delhi.pdfPython Course in Delhi.pdf
Python Course in Delhi.pdf
 
Programming for data science in python
Programming for data science in pythonProgramming for data science in python
Programming for data science in python
 
Learn Python in Pragmatic Way
Learn Python in Pragmatic WayLearn Python in Pragmatic Way
Learn Python in Pragmatic Way
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT
 
Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT Best Python_Training_-_NareshIT
Best Python_Training_-_NareshIT
 
PYTHON COURSE IN KHANNA
PYTHON COURSE IN KHANNAPYTHON COURSE IN KHANNA
PYTHON COURSE IN KHANNA
 
Python Course in Delhi and its Applications.pptx
Python Course in Delhi and its Applications.pptxPython Course in Delhi and its Applications.pptx
Python Course in Delhi and its Applications.pptx
 
why choose python
why choose pythonwhy choose python
why choose python
 
Why Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptxWhy Your Business Should Leverage Python App Development in 2023.pptx
Why Your Business Should Leverage Python App Development in 2023.pptx
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Python programming using Python OOPS con

  • 1. PYTHON PROGRAMMING TIC TAC TOE PRESENTED BY M.Lokeshwar 21691A04C1
  • 3. INTRODUCTION PYTHON PROGRAMMING Python is a high-level, interpreted, and dynamically-typed programming language known for its simplicity, readability, and versatility. Here are some key aspects and features of Python programming. IMPORTANCE OF PYTHON PROGRAMMING Readability and Simplicity Versatility Rapid Development Large Standard Library
  • 4. FUNDAMENTALS OF PYTHON PROGRAMMING 1. Variables and Data Types 2. Control Flow 3. Functions 4. Lists and Iterables 5. Dictionaries 6. Strings and String Manipulation 7. Exception Handling 8. Classes and Object-Oriented Programming 9. File Handling 10. Modules and Libraries
  • 5. APPLICATIONS OF PYTHON 1. Web Development 2. Data Science and Machine Learning 3. Artificial Intelligence 4. Automation and Scripting 5. Scientific Computing 6. Game Development 7. Desktop GUI Applications 8. Backend Development 9. Education 10. DevOps and Infrastructure Automation
  • 6. OBJECTIVE The objective of the Tic- Tac-Toe project is to create a simple and interactive console- based game using Python, serving as a hands-on learning experience for beginners to reinforce fundamental programming concepts such as lists, loops, conditionals, functions, and user input.
  • 7. OVERVIEW The project is a console-based Tic Tac Toe game written in Python. Players take turns making moves on a 3x3 grid until there's a winner, a tie, or players decide to restart. The code uses simple algorithms to check for wins and validates user input.
  • 8. ALGORITHM 1.Game Initialization 2.Printing the Game Board 3.Player Moves and Input Validation 4.Checking for a Win 5.Game Flow and Restart 6.Main Function and Execution
  • 10.
  • 11. CONCLUSIO N The Tic-Tac-Toe project in Python provides a hands-on introduction to essential programming concepts. It demonstrates the use of lists, loops, conditionals, and functions to create a functional and interactive game. This project is particularly useful for beginners, offering a clear structure and encouraging algorithmic thinking. The simplicity of the game, coupled with Python's readability, makes it an accessible and educational example for those learning or teaching programming fundamentals