eTeacher · @onlinelearningitclassso1

投稿した 1 週 日前
278 フォロワー
158 views
3 likes
0 comments
1 shares

#creatorsearchinsights #fyp #programming #python Python PROGRAMMING? C SIMPLE POWERFUL BEGINNER FRIENDLY 1. DEFINITION 2. WHY PYTHON IS POPULAR? $ 3. FEATURES OF PYTHON Python is a high-level, interpreted, general-purpose programming language. It was created by Guido van Rossum and released in 1991. Python is easy to learn, simple to use and very powerful. It supports multiple programming paradigms like procedural, OOPs, and functional programming. Easy to learn and read Free and open source Portable (runs on Windows, Mac, Linux) Large community support Wide range of applications Beginner friendly Simple and easy syntax High level language Interpreted language Cross-platform Extensive standard library Supports multiple programming paradigms Free and open source print("Hello World!") </> 4. HOW PYTHON WORKS ? Python code is written in a-py file (source code). When we run the program, Python interpreter reads the code line by line. Interpreter converts code into machine language (bytecode) and executes it. Output is shown on the screen. Source Code (.py file) Python Interpreter Bytecode Output (Screen) 101010 010101 .Py Hello World! </> 5. EXAMPLE PROGRAM 6. APPLICATIONS OF PYTHON # This is my first Python program 1 2 print("Hello, World!") 3 10 4 5 6 20 6 + d print("Sum =", c) Web Development (Django, Flask) Data Science & Al (NumPy, Pandas) Machine Learning Automation & Scripting Game Development Desktop Applications Networking Many more .. OUTPUT Hello, World! Sum 30 </> 7. PYTHON BASIC SYNTAX 5 8. BASIC DATA TYPES Data Type int float str bool [1, list tuple dict Print output Variables Comments Data Types Indentation print("text") name = value single line comment # int, float, str, bool Python uses indentation instead of () (braces) Example 10 10.5 "Hello" True 2i 3] (1, 2, 3) ('a': 1] Description Integer number Decimal number Text(string) True or False value Ordered collection Ordered (immutable) Key-Value pair 9. CONCLUSION Python is a simple, powerful, versatile and beginner-friendly programming language. It is used in many fields and has a bright future. Learning Python is a great step for your programming journey. X