This slide is composed for educational purposes only which is mainly a presentation on Python. Most of the image resources here were used from www.pngwing.com.
Size: 11.53 MB
Language: en
Added: Sep 19, 2024
Slides: 12 pages
Slide Content
A VERY POPULAR PROGRAMMING LANGUAGE Presentation on
Md. Saleh Noor Showrov 24230336013 MD Rakibul Islam 24230336019 Md. Jahid Hassan 24230336022 Syed Md. Nur Hossain 24230336058 Faria Tabussum Pritu 24230336068 M. Ashikur Rahman 24230336110 MD. Shahnawaz Zulminan 24230336131 GROUP 9
Python is a versatile, high-level programming language known for its simplicity and readability. Widely used in web development, data science, automation, and AI, it supports multiple programming paradigms and offers an extensive ecosystem of libraries and frameworks. What is Python? M. Ashikur Rahman 24230336110
Why need to learn Python? Learning Python is essential for several reasons: 1. Versatility: Python is used in web development, data analysis, AI, and automation. 2. Ease of Use: Its simple syntax makes it beginner-friendly. 3. Community Support: Large community and abundant resources help in learning. 4. High Demand: Python developers are in high demand in tech industries. 5. Cross-Platform: Python works across different operating systems. 5. Automation: It helps automate repetitive tasks efficiently. M. Ashikur Rahman 24230336110
Business Application of Python 1. Data Analysis: Libraries like Pandas, NumPy, and Matplotlib help analyze and visualize data for better decision-making. 2. Automation: Automate repetitive tasks, improving efficiency in areas like data entry, report generation, and web scraping. 3. Web Development: Django and Flask are used to build scalable, efficient web applications. 4.Machine Learning: Python supports AI/ML projects with libraries like TensorFlow and Scikit-learn. 5. API Integration: Easily integrate with external services and APIs. M. Ashikur Rahman 24230336110
Syntax in Python Md. Saleh Noor Showrov 24230336013
Fundamental Language elements- Basic Syntax 1 Keywords Operators Indentation Comments Reserved Words having Special Meaning such as ‘def’, ‘print’, ‘float’, ‘input’. == means ‘Equal to’ != means ‘Not equal to’ The body of a function or a conditional block + means ‘adds to’ - means ‘subtracts from’ / means ‘returns quotient’ * means ‘return product’ % means ‘returns remainder’ > means ‘greater than’ < means ‘lesser than’ <= means ‘lesser than or equal to’ >= means ‘greater than or equal to’ Any sentence that begins with # in order to make another user or human reader to understand the use of the code beneath that sentence. Comments begin with # and are ignored by the interpreter. They help explain the code to humans but have no effect on execution Md. Saleh Noor Showrov 24230336013
Data Types & Literals 2 Int() syntax only stores digits before decimal Float() syntax stores digits before and after the decimal. Bool() syntax stores either 1 (true) or 0 (false) basing on Boolean algebra String() syntax only stores array of characters such as ‘Apple’, ‘Von’, etc . None() syntax stores nothing and remains blank. tuple() syntax stores a constant value which will not change under any circumstances. sets() syntax stores unique elements or group of strings. dict () syntax stores unique elements in form of values. Md. Saleh Noor Showrov 24230336013
Control Flow Syntax 3 Syntax for how the code executes in response to conditions or loop. These syntax do not apply for ‘None’ variable by the way. Md. Saleh Noor Showrov 24230336013
Function Definition and Calls 4 Defines a function in python coding that are reusable. Md. Saleh Noor Showrov 24230336013
Input/Output Syntax 5 Handles user interaction whether to extract the output values or input values. input( ) output( ) Md. Saleh Noor Showrov 24230336013
Expression and Statements 6 Consists of Expressions and Statements that can be evaluated to produce a result. Md. Saleh Noor Showrov 24230336013