Today, Python is one of the most popular programming languages. Although it is a general-purpose language, it is used in various areas of applications such as Machine Learning, Artificial Intelligence, web development, IoT, and more.
The document provides an introduction to Python programming and application development. It discusses that Python is an interpreted, high-level and object-oriented programming language. It then covers key Python concepts like data types, variables, operators, expressions and statements. The document also lists some common Python applications like data science, web development, AI and more.
This document provides an introduction and overview of the Python programming language. It discusses Python's key features such as being an interpreted, object-oriented, high-level programming language with dynamic typing and a large standard library. It also covers Python's use as both a scripting and general purpose language. The document then discusses Python's data types, operators, control flow statements, functions, and lambda expressions. It provides examples of using Python interactively and in script mode.
ZENUS INFOTECH is best Python Training institute in Roorkee and an ISO 9001:2008 Certified Engineer’s Training Company in Roorkee & provides training to the B.E./B.TECH/DIPLOMA/MCA/BCA and related field students in 35+ cutting-edge technologies like AutoCAD, Solid-Works, CATIA, REVIT, Pro-E, UG-NX .NET, JAVA, PHP, GST Tally and Wireless & Telecommunication and many more.
The document discusses Python programming language. It provides an overview of what Python is, what it can be used for, and why it is a popular language. Specifically, it notes that Python was created by Guido van Rossum and released in 1991. It is used for web development, software development, mathematics, and system scripting. The document then covers Python syntax, basic data types, operators, decision making and control flow statements like if/else and loops.
Basic concept of Python.pptx includes design tool, identifier, variables.supriyasarkar38
This document discusses Python programming concepts including data types, variables, operators, and functions. It provides examples of Python syntax for writing and executing code as well as built-in data types like strings, integers, and lists. Key concepts covered include variables, data type casting, comments, arithmetic and comparison operators, and functions.
python programming language Python is a high-level, interpreted, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. INTRODUCTION
HISTORY
USES OF PYTHON
FEATURES OF PYTHON
PYTHON PROJECT FOR BEGINNERS
PYTHON PROGRAM
KEY CHANGES IN PYTHON
BASIC SYNTAX
VARIABLE
NUMBERS
STANDARD TYPE HIERARCHY
STRING
CONDITIONALS
FOR LOOP
FUNCTION
KEYWORDS
WHY PYTHON ?
DIFFERENTIATE
EXAMPLES
This document provides information about Jupyter Notebook, including:
- Jupyter Notebook is an open-source web application for creating and sharing documents containing live code, equations, visualizations, and narrative text.
- It works locally on localhost port 8888 and the easiest way to install it is through Anaconda which includes Jupyter Notebook and popular Python libraries.
- Notebooks use kernels to run code in different programming languages, with IPython being the default Python kernel.
This document provides an introduction to variables and operators in the Python programming language. It defines key concepts like variables, data types, operators, functions, and more. It explains how to work with input and output functions like print() and input() in Python. It also covers comments, indentation, tokens, identifiers, keywords, literals and other essential building blocks of the Python language. The document is intended as a lesson for a 12th computer science class to learn the basics of variables and operators in Python.
The document provides an overview of the Python programming language. It discusses why Python is useful for students and professionals, its major features like being object-oriented and having a large standard library. The document also covers Python's history, how to install it and set the environment variables, basic syntax like variables and data types, operators, and common programming constructs like conditionals and loops.
The document provides information about various Python concepts like PEP 8, pickling, lambda functions, generators, modules, packages and more. It also includes questions about memory management in Python, tools for static analysis, decorators, iterators, slicing, and other common Python interview questions.
Python is a high-level, interpreted, interactive, and object-oriented scripting language. It can be used as both a scripting language and for object-oriented programming. Python code is automatically compiled to byte code and executed. It supports data types like numbers, strings, lists, tuples, dictionaries, booleans, and sets. Common operations include concatenation, slicing, repetition, indexing, and more. User input can be obtained using functions like input() and raw_input().
Functional programming is a paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It promotes pure functions without side effects. Some advantages of functional programming include cleaner code, referential transparency which enables memoization, parallelization, and easier debugging. While Python is multi-paradigm, functional programming techniques like immutable data, higher-order functions, recursion, and lazy evaluation can be applied for more elegant and maintainable code.
This document provides an introduction and overview of the Python programming language. It describes Python as a general-purpose, object-oriented programming language with features like high-level programming capabilities, an easily understandable syntax, portability, and being easy to learn. It then discusses Python's characteristics like being an interpreted language, supporting object-oriented programming, being interactive and easy to use, having straightforward syntax, being portable, extendable, and scalable. The document also outlines some common uses of Python like for creating web and desktop applications, and provides examples of using Python's interactive and script modes.
The document provides an introduction to the basics of the Python programming language. It discusses that Python is an interpreted language, meaning code is not directly run by hardware but is instead passed to a virtual machine. It outlines some key advantages of Python like automatic memory management and ease of programming. It also notes some disadvantages like interpreted languages generally being slower than compiled languages. The document then covers different Python versions, the popular Anaconda IDE, keywords, variables, data types, operators and provides examples of arithmetic, comparison and boolean operators.
This document outlines the objectives and content of the course GE3151 Problem Solving and Python Programming. The course is intended to teach students the basics of algorithmic problem solving using Python. It covers topics like computational thinking, Python data types, control flow, functions, strings, lists, tuples, dictionaries, files and modules. The course contains 5 units that will teach students how to define problems, develop algorithms, implement solutions in Python using conditionals, loops, functions and data structures, perform input/output with files and use modules and packages.
This document provides an overview and introduction to Python programming. It discusses Python basics like variables, data types, operators, conditionals, loops, functions and file handling. It also covers commonly used Python libraries and concepts in data analytics like NumPy, Pandas, Matplotlib and statistics. The document is intended as a whistle-stop tour to cover the most common aspects of Python.
This file contains the first steps any beginner can take as he/she starts a journey into the rich and beautiful world of Python programming. From basics such as variables to data types and recursions, this document touches briefly on these concepts. It is not, by any means, an exhaustive guide to learn Python, but it serves as a good starting point and motivation.
Kunal Chauhan will provide a 6-week Python training covering introduction to Python programming, basics of programming in Python, principles of object-oriented programming, SQLite database, developing GUI with PyQt, and applications of Python in various disciplines. The training will introduce Python as a programming language created in 1991 that works on different platforms. It will cover basic Python syntax, data types, operators, conditional and loop statements, functions, modules, and object-oriented programming concepts like classes and objects.
web programming UNIT VIII python by Bhavsingh MalothBhavsingh Maloth
This document provides a tutorial on Python programming. It introduces core Python concepts over several sections. The first section discusses what will be covered, including an introduction to the Python language and becoming comfortable writing basic programs. Subsequent sections cover specific Python topics like data types, operators, conditional and loop execution, functions, modules and packages for code reusability. The document emphasizes consistent indentation and readability in Python code.
This document provides an introduction to Python programming basics for beginners. It discusses Python features like being easy to learn and cross-platform. It covers basic Python concepts like variables, data types, operators, conditional statements, loops, functions, OOPs, strings and built-in data structures like lists, tuples, and dictionaries. The document provides examples of using these concepts and recommends Python tutorials, third-party libraries, and gives homework assignments on using functions like range and generators.
Artificial Intelligence career oppourtunitiessherinjoyson
rtificial intelligence (AI) is a technology science focused on machine learning. As technology research grows, so do the career opportunities involving AI products and systems. Researching the various jobs in artificial intelligence could help you determine whether it's the right career path for your goals.
A computer network links several computers. Office networks allow people to w...sherinjoyson
One of the first computer networks to use packet switching, ARPANET, was developed in the mid-1960s and is the direct predecessor of the modern Internet.
Ad
More Related Content
Similar to Advance Python programming languages-Simple Easy learning (20)
This document provides an introduction to variables and operators in the Python programming language. It defines key concepts like variables, data types, operators, functions, and more. It explains how to work with input and output functions like print() and input() in Python. It also covers comments, indentation, tokens, identifiers, keywords, literals and other essential building blocks of the Python language. The document is intended as a lesson for a 12th computer science class to learn the basics of variables and operators in Python.
The document provides an overview of the Python programming language. It discusses why Python is useful for students and professionals, its major features like being object-oriented and having a large standard library. The document also covers Python's history, how to install it and set the environment variables, basic syntax like variables and data types, operators, and common programming constructs like conditionals and loops.
The document provides information about various Python concepts like PEP 8, pickling, lambda functions, generators, modules, packages and more. It also includes questions about memory management in Python, tools for static analysis, decorators, iterators, slicing, and other common Python interview questions.
Python is a high-level, interpreted, interactive, and object-oriented scripting language. It can be used as both a scripting language and for object-oriented programming. Python code is automatically compiled to byte code and executed. It supports data types like numbers, strings, lists, tuples, dictionaries, booleans, and sets. Common operations include concatenation, slicing, repetition, indexing, and more. User input can be obtained using functions like input() and raw_input().
Functional programming is a paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It promotes pure functions without side effects. Some advantages of functional programming include cleaner code, referential transparency which enables memoization, parallelization, and easier debugging. While Python is multi-paradigm, functional programming techniques like immutable data, higher-order functions, recursion, and lazy evaluation can be applied for more elegant and maintainable code.
This document provides an introduction and overview of the Python programming language. It describes Python as a general-purpose, object-oriented programming language with features like high-level programming capabilities, an easily understandable syntax, portability, and being easy to learn. It then discusses Python's characteristics like being an interpreted language, supporting object-oriented programming, being interactive and easy to use, having straightforward syntax, being portable, extendable, and scalable. The document also outlines some common uses of Python like for creating web and desktop applications, and provides examples of using Python's interactive and script modes.
The document provides an introduction to the basics of the Python programming language. It discusses that Python is an interpreted language, meaning code is not directly run by hardware but is instead passed to a virtual machine. It outlines some key advantages of Python like automatic memory management and ease of programming. It also notes some disadvantages like interpreted languages generally being slower than compiled languages. The document then covers different Python versions, the popular Anaconda IDE, keywords, variables, data types, operators and provides examples of arithmetic, comparison and boolean operators.
This document outlines the objectives and content of the course GE3151 Problem Solving and Python Programming. The course is intended to teach students the basics of algorithmic problem solving using Python. It covers topics like computational thinking, Python data types, control flow, functions, strings, lists, tuples, dictionaries, files and modules. The course contains 5 units that will teach students how to define problems, develop algorithms, implement solutions in Python using conditionals, loops, functions and data structures, perform input/output with files and use modules and packages.
This document provides an overview and introduction to Python programming. It discusses Python basics like variables, data types, operators, conditionals, loops, functions and file handling. It also covers commonly used Python libraries and concepts in data analytics like NumPy, Pandas, Matplotlib and statistics. The document is intended as a whistle-stop tour to cover the most common aspects of Python.
This file contains the first steps any beginner can take as he/she starts a journey into the rich and beautiful world of Python programming. From basics such as variables to data types and recursions, this document touches briefly on these concepts. It is not, by any means, an exhaustive guide to learn Python, but it serves as a good starting point and motivation.
Kunal Chauhan will provide a 6-week Python training covering introduction to Python programming, basics of programming in Python, principles of object-oriented programming, SQLite database, developing GUI with PyQt, and applications of Python in various disciplines. The training will introduce Python as a programming language created in 1991 that works on different platforms. It will cover basic Python syntax, data types, operators, conditional and loop statements, functions, modules, and object-oriented programming concepts like classes and objects.
web programming UNIT VIII python by Bhavsingh MalothBhavsingh Maloth
This document provides a tutorial on Python programming. It introduces core Python concepts over several sections. The first section discusses what will be covered, including an introduction to the Python language and becoming comfortable writing basic programs. Subsequent sections cover specific Python topics like data types, operators, conditional and loop execution, functions, modules and packages for code reusability. The document emphasizes consistent indentation and readability in Python code.
This document provides an introduction to Python programming basics for beginners. It discusses Python features like being easy to learn and cross-platform. It covers basic Python concepts like variables, data types, operators, conditional statements, loops, functions, OOPs, strings and built-in data structures like lists, tuples, and dictionaries. The document provides examples of using these concepts and recommends Python tutorials, third-party libraries, and gives homework assignments on using functions like range and generators.
Artificial Intelligence career oppourtunitiessherinjoyson
rtificial intelligence (AI) is a technology science focused on machine learning. As technology research grows, so do the career opportunities involving AI products and systems. Researching the various jobs in artificial intelligence could help you determine whether it's the right career path for your goals.
A computer network links several computers. Office networks allow people to w...sherinjoyson
One of the first computer networks to use packet switching, ARPANET, was developed in the mid-1960s and is the direct predecessor of the modern Internet.
This document provides information on logistic regression, including binary logistic regression. It discusses the assumptions of logistic regression including outliers, multicollinearity, logit linearity, and independence of errors. It then provides an example using SPSS to conduct binary logistic regression on a dataset to predict enrollment in a Masters program based on interest, previous scores, and field of previous degree. The results show that the logistic regression model improves prediction accuracy over the null model and that previous scores is a significant predictor of enrollment.
The document discusses four types of computers: microcomputers, minicomputers, mainframe computers, and supercomputers. Microcomputers are the smallest and most common, including desktops, laptops, and smartphones. They are inexpensive and portable but have low processing speed. Minicomputers are mid-sized machines for small businesses. Mainframe computers are the largest, filling entire rooms, and are used for centralized computing by large organizations. Supercomputers are the fastest but also the most expensive, used for specialized tasks like modeling and requiring their own facilities to operate.
Early humans progressed from using tools like pebbles for counting to developing more advanced calculating devices. Key developments included the abacus, the first calculating device; Pascaline, an early mechanical calculator; and the Analytical Engine designed by Charles Babbage, considered the father of computer science. The first modern computer, ENIAC, was also developed. Digitization provides many advantages over traditional libraries including unlimited storage, 24/7 access from anywhere via the Internet, easy searching and retrieval, and the ability for many users to access the same file simultaneously. Digital India is a large program launched in 2015 that aims to provide high-speed internet access nationwide and make all government services available electronically to citizens to promote digital empowerment.
God told Jonah to go to Ninevah, but Jonah disobeyed and fled by boat. God caused a storm and Jonah was thrown overboard, where he was swallowed by a large fish. After praying inside the fish, Jonah was spit out and agreed to go to Ninevah. The people of Ninevah listened to Jonah and repented from their sins.
Just-in-time: Repetitive production system in which processing and movement of materials and goods occur just as they are needed, usually in small batches
JIT is characteristic of lean production systems
JIT operates with very little “fat”
This project demonstrates the application of machine learning—specifically K-Means Clustering—to segment customers based on behavioral and demographic data. The objective is to identify distinct customer groups to enable targeted marketing strategies and personalized customer engagement.
The presentation walks through:
Data preprocessing and exploratory data analysis (EDA)
Feature scaling and dimensionality reduction
K-Means clustering and silhouette analysis
Insights and business recommendations from each customer segment
This work showcases practical data science skills applied to a real-world business problem, using Python and visualization tools to generate actionable insights for decision-makers.
Bram Vanschoenwinkel is a Business Architect at AE. Bram first heard about process mining in 2008 or 2009, when he was searching for new techniques with a quantitative approach to process analysis. By now he has completed several projects in payroll accounting, public administration, and postal services.
The discovered AS IS process models are based on facts rather than opinions and, therefore, serve as the ideal starting point for change. Bram uses process mining not as a standalone technique but complementary and in combination with other techniques to focus on what is really important: Actually improving the process.
Johan Lammers from Statistics Netherlands has been a business analyst and statistical researcher for almost 30 years. In their business, processes have two faces: You can produce statistics about processes and processes are needed to produce statistics. As a government-funded office, the efficiency and the effectiveness of their processes is important to spend that public money well.
Johan takes us on a journey of how official statistics are made. One way to study dynamics in statistics is to take snapshots of data over time. A special way is the panel survey, where a group of cases is followed over time. He shows how process mining could test certain hypotheses much faster compared to statistical tools like SPSS.
Tijn van der Heijden is a business analyst with Deloitte. He learned about process mining during his studies in a BPM course at Eindhoven University of Technology and became fascinated with the fact that it was possible to get a process model and so much performance information out of automatically logged events of an information system.
Tijn successfully introduced process mining as a new standard to achieve continuous improvement for the Rabobank during his Master project. At his work at Deloitte, Tijn has now successfully been using this framework in client projects.
Lalit Wangikar, a partner at CKM Advisors, is an experienced strategic consultant and analytics expert. He started looking for data driven ways of conducting process discovery workshops. When he read about process mining the first time around, about 2 years ago, the first feeling was: “I wish I knew of this while doing the last several projects!".
Interviews are subject to all the whims human recollection is subject to: specifically, recency, simplification and self preservation. Interview-based process discovery, therefore, leaves out a lot of “outliers” that usually end up being one of the biggest opportunity area. Process mining, in contrast, provides an unbiased, fact-based, and a very comprehensive understanding of actual process execution.
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...disnakertransjabarda
Gen Z (born between 1997 and 2012) is currently the biggest generation group in Indonesia with 27.94% of the total population or. 74.93 million people.
By James Francis, CEO of Paradigm Asset Management
In the landscape of urban safety innovation, Mt. Vernon is emerging as a compelling case study for neighboring Westchester County cities. The municipality’s recently launched Public Safety Camera Program not only represents a significant advancement in community protection but also offers valuable insights for New Rochelle and White Plains as they consider their own safety infrastructure enhancements.
2025年新版意大利毕业证布鲁诺马代尔纳嘉雷迪米音乐学院文凭【q微1954292140】办理布鲁诺马代尔纳嘉雷迪米音乐学院毕业证(Rimini毕业证书)2025年新版毕业证书【q微1954292140】布鲁诺马代尔纳嘉雷迪米音乐学院offer/学位证、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作【q微1954292140】Buy Conservatorio di Musica "B.Maderna G.Lettimi" Diploma购买美国毕业证,购买英国毕业证,购买澳洲毕业证,购买加拿大毕业证,以及德国毕业证,购买法国毕业证(q微1954292140)购买荷兰毕业证、购买瑞士毕业证、购买日本毕业证、购买韩国毕业证、购买新西兰毕业证、购买新加坡毕业证、购买西班牙毕业证、购买马来西亚毕业证等。包括了本科毕业证,硕士毕业证。
主营项目:
1、真实教育部国外学历学位认证《意大利毕业文凭证书快速办理布鲁诺马代尔纳嘉雷迪米音乐学院毕业证定购》【q微1954292140】《论文没过布鲁诺马代尔纳嘉雷迪米音乐学院正式成绩单》,教育部存档,教育部留服网站100%可查.
2、办理Rimini毕业证,改成绩单《Rimini毕业证明办理布鲁诺马代尔纳嘉雷迪米音乐学院办理文凭》【Q/WeChat:1954292140】Buy Conservatorio di Musica "B.Maderna G.Lettimi" Certificates《正式成绩单论文没过》,布鲁诺马代尔纳嘉雷迪米音乐学院Offer、在读证明、学生卡、信封、证明信等全套材料,从防伪到印刷,从水印到钢印烫金,高精仿度跟学校原版100%相同.
3、真实使馆认证(即留学人员回国证明),使馆存档可通过大使馆查询确认.
4、留信网认证,国家专业人才认证中心颁发入库证书,留信网存档可查.
《布鲁诺马代尔纳嘉雷迪米音乐学院留服认证意大利毕业证书办理Rimini文凭不见了怎么办》【q微1954292140】学位证1:1完美还原海外各大学毕业材料上的工艺:水印,阴影底纹,钢印LOGO烫金烫银,LOGO烫金烫银复合重叠。文字图案浮雕、激光镭射、紫外荧光、温感、复印防伪等防伪工艺。
高仿真还原意大利文凭证书和外壳,定制意大利布鲁诺马代尔纳嘉雷迪米音乐学院成绩单和信封。毕业证定制Rimini毕业证【q微1954292140】办理意大利布鲁诺马代尔纳嘉雷迪米音乐学院毕业证(Rimini毕业证书)【q微1954292140】学位证书制作代办流程布鲁诺马代尔纳嘉雷迪米音乐学院offer/学位证成绩单激光标、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决布鲁诺马代尔纳嘉雷迪米音乐学院学历学位认证难题。
意大利文凭布鲁诺马代尔纳嘉雷迪米音乐学院成绩单,Rimini毕业证【q微1954292140】办理意大利布鲁诺马代尔纳嘉雷迪米音乐学院毕业证(Rimini毕业证书)【q微1954292140】安全可靠的布鲁诺马代尔纳嘉雷迪米音乐学院offer/学位证办理原版成绩单、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决布鲁诺马代尔纳嘉雷迪米音乐学院学历学位认证难题。
意大利文凭购买,意大利文凭定制,意大利文凭补办。专业在线定制意大利大学文凭,定做意大利本科文凭,【q微1954292140】复制意大利Conservatorio di Musica "B.Maderna G.Lettimi" completion letter。在线快速补办意大利本科毕业证、硕士文凭证书,购买意大利学位证、布鲁诺马代尔纳嘉雷迪米音乐学院Offer,意大利大学文凭在线购买。
如果您在英、加、美、澳、欧洲等留学过程中或回国后:
1、在校期间因各种原因未能顺利毕业《Rimini成绩单工艺详解》【Q/WeChat:1954292140】《Buy Conservatorio di Musica "B.Maderna G.Lettimi" Transcript快速办理布鲁诺马代尔纳嘉雷迪米音乐学院教育部学历认证书毕业文凭证书》,拿不到官方毕业证;
2、面对父母的压力,希望尽快拿到;
3、不清楚认证流程以及材料该如何准备;
4、回国时间很长,忘记办理;
5、回国马上就要找工作《正式成绩单布鲁诺马代尔纳嘉雷迪米音乐学院文凭详解细节》【q微1954292140】《研究生文凭Rimini毕业证详解细节》办给用人单位看;
6、企事业单位必须要求办理的;
7、需要报考公务员、购买免税车、落转户口、申请留学生创业基金。
【q微1954292140】帮您解决在意大利布鲁诺马代尔纳嘉雷迪米音乐学院未毕业难题(Conservatorio di Musica "B.Maderna G.Lettimi" )文凭购买、毕业证购买、大学文凭购买、大学毕业证购买、买文凭、日韩文凭、英国大学文凭、美国大学文凭、澳洲大学文凭、加拿大大学文凭(q微1954292140)新加坡大学文凭、新西兰大学文凭、爱尔兰文凭、西班牙文凭、德国文凭、教育部认证,买毕业证,毕业证购买,买大学文凭,购买日韩毕业证、英国大学毕业证、美国大学毕业证、澳洲大学毕业证、加拿大大学毕业证(q微1954292140)新加坡大学毕业证、新西兰大学毕业证、爱尔兰毕业证、西班牙毕业证、德国毕业证,回国证明,留信网认证,留信认证办理,学历认证。从而完成就业。布鲁诺马代尔纳嘉雷迪米音乐学院毕业证办理,布鲁诺马代尔纳嘉雷迪米音乐学院文凭办理,布鲁诺马代尔纳嘉雷迪米音乐学院成绩单办理和真实留信认证、留服认证、布鲁诺马代尔纳嘉雷迪米音乐学院学历认证。学院文凭定制,布鲁诺马代尔纳嘉雷迪米音乐学院原版文凭补办,扫描件文凭定做,100%文凭复刻。
特殊原因导致无法毕业,也可以联系我们帮您办理相关材料:
1:在布鲁诺马代尔纳嘉雷迪米音乐学院挂科了,不想读了,成绩不理想怎么办???
2:打算回国了,找工作的时候,需要提供认证《Rimini成绩单购买办理布鲁诺马代尔纳嘉雷迪米音乐学院毕业证书范本》【Q/WeChat:1954292140】Buy Conservatorio di Musica "B.Maderna G.Lettimi" Diploma《正式成绩单论文没过》有文凭却得不到认证。又该怎么办???意大利毕业证购买,意大利文凭购买,
3:回国了找工作没有布鲁诺马代尔纳嘉雷迪米音乐学院文凭怎么办?有本科却要求硕士又怎么办?
9. WHAT IS PYTHON
9
• Python is a popular programming language.
• It was created by Guido van Rossum, and released in 1991.
• It is used for:
⮚web development (server-side).
⮚software development.
⮚mathematics.
⮚system scripting.
10. WHY PYTHON IS WIDELY USE?
10
• The python language is one of the most accessible programming
languages
• Python works on different platforms (Windows, Mac, Linux etc).
• Python has a simple syntax.
• Python is easy to code.
• Python runs on an interpreter system, meaning that code can be
executed as soon as it is written.
• Python is a object Oriented Programming Language
11. IDE – FOR PYTHON
11
• Jupyter IDE can be use for python coding.
• Jupyter is a free, open-source, interactive web tool that allows
editing and running files via a web browser.
• To launch a Jupyter notebook, open your terminal and navigate to
the directory where you would like to save your notebook.
• Then type the command Jupyter notebook and the program will
instantiate a local server at localhost:8888
12. ALGORITHM
The step by step procedure to solve an
identified problem is called an
algorithm.
13. ALGORITHM
• PRINT 1 TO 20
STEPS
STEP 1:Initialize X as 0
STEP 2:Increment X by 1
STEP 3:Print X
STEP 4:If X is less than 20 then go back to
step 2
15. FLOWCHART
• A flowchart is the graphical or pictorial
representation of an algorithm with the
help of different symbols, shapes and
arrows in order to demonstrate a
process or a program.
18. PROGRAM
• A computer program is a collection of instructions
that perform a specific task when executed by a
computer.
• Examples- BASIC, Java, C, C++, Ruby, Python, Pascal etc.
19. Why Python for AI?
• Easy to learn, read and maintain
• A broad standard library
• Interactive mode
• Portability and compatibility
• Extendable
• Databases and scalable
20. BASIC PROGRAMMING SYNTAX
20
• Python syntax are very much simple and easy.
• Every programming language has its own set of rules that make
up its basic syntax.
• Hence ,it’s easy to code in Python.
For Example:
print(“ Learn from PodarPearl “)
• The syntax mention above is the basic syntax of python
programming language to print .
21. PYTHON KEYWORDS
21
• A keyword is a word having special meaning reserved by
programming language.
• We cannot use a keyword as a variable name, function name or
any other identifier.
23. Integrated Development
Environment(IDE)
edit run browse debug
• Cross-platform programming language-Windows,
Mac OS, Linux.
• IDLE(GUI integrated) is the standard and popular
python development environment.
24. Python shell – used in 2 ways:
Interactive
mode
Allows us to
interact
with OS
Script
mode
Lets us
create/edit
source file
25. Python script/program
• Python statements written in a
particular sequence to solve a problem
is known as Python script/program.
27. Introduction to tools for AI
ANACONDA 3
• Free open source distribution of python language
Data
science
OWN PACKAGES
ML
OWN SETTINGS
Predictive
analytics
Large scale
data
processing
DIFFERENT VIRTUAL
ENVIRONMENTS
28. Anaconda navigator
• Is a desktop GUI included in Anaconda that allows you
to launch applications and easily manage conda
packages, environments and channels without the
need to use command line commands.
What did we install?
• Anaconda prompt – Anaconda’s Command line
Interface(CLI) : is a Python CLI where we can create
different virtual environments and install packages
into them as per our need.
29. Jupyter Notebook
• Powerful tool for interactively developing and
presenting AI related projects.
• Possible to use different programming languages
• Python is commonly used language in it.
NOTEBOOK
It integrates codes and its output into a single document
that combines visualisations, narrative text,
mathematical equations.
Data science, analysis and science.
30. Working with Jupyter notebook
• KERNEL – provides programming
language support in Jupyter.
• Default kernel = IPython
conda.install jupyter nb_conda ipykernel
jupyter notebook
35. Python statement and comments
• Instructions written in the source code
for execution are called statements.
• Different types - 1. Assignment statement
2.Conditional statement
3.Looping statement
38. KEYWORDS & IDENTIFIERS
• Keywords – are the reserved words in python used by
python interpreter to recognize the structure of the
program.
• Identifier – is a name given to the entities like class,
variables, functions etc. It helps to differentiate one
entity from another.
• (Entity is a python library for automated object validation and
serialization)
40. VARIABLES
• A variable is a named location used to store
data in the memory.
• X = 42
• Y = 42
41. DATA TYPES
• All data values are represented by objects.
• Defines the operations possible on the variables and their
storage method.
NUMERIC
LIST
SET TUPLE
STRING
DICTIONARY
43. 2.LIST
• Store elements of different types
• Most versatile type in python
States = [‘Punjab’ , ‘Haryana’ , ‘Rajasthan’, 28]
print(States)
44. 3.TUPLES
• It’s a sequence of immutable python objects.
• Faster than lists
• If a constant set of values is to be defined
which we must iterate – use tuple
• Cannot update, add, delete an element
Grade = ( ‘Einstein’ , ‘Newton’ , ‘Darwin’)
46. 5.SET
• Collection of items without any specific order.
• Every element is unique.
• Union, Intersection , Difference, Symmetric
difference
Set_1 = {7,8,9}
Set_2 = {3,6,6,7}
47. 6. DICTIONARY
• Contains key value pairs enclosed within curly
braces and keys and values are separated by
‘:’
Dict = {‘Name’ : ‘Karthik’ , ‘Age’ : 20}
49. COMPARISON OPERATOR
Operator Description Example
== If the values of two operands are equal, then
the condition becomes true.
(A==B) is not true
!= If the values of two operands are not equal,
then the condition becomes true.
(A!=B) is true
> If the value of left operand is greater than the
value of right operand, then the condition
becomes true.
(A>B) is true
< If the value of left operand is less than the
value of right operand, then the condition
becomes true.
(A<B) is not true
>= If the value of left operand is greater than or
equal to the value of right operand, then the
condition becomes true.
(A>=B) is true
<= If the value of left operand is less than or
equal to the value of right operand, then the
condition becomes true.
(A<=B) is not true
50. ASSIGNMENT OPERATOR
Operator Description Example
= Assigns values from right side operands to
left side operand
C =A+B
+= Add AND It adds right operand to the left operand
and assigns the result to left operand
C +=A
-= Subtract AND It subtract right operand to the left
operand and assigns the result to left
operand
C -=A
*= Multiply AND It multiplies right operand to the left
operand and assigns the result to left
operand
C*=A
/= Divide AND It divides left operand by right operand
and assigns the result to left operand
C/=A
%= Modulus AND It takes modulus using two operands and
assigns the result to left operand
C%=A
**= Exponent AND It performs exponential
(power)calculation on operators and
assigns value to the left operand
C**=A
51. OPERATOR EXAMPLE
Addition A+B = 300
Subtraction A-B = -100
Multiplication A*B = 20000
Division A/B = 0.5
Modulus B%A = 0
Exponent A**B = 100 to the power of
200
52. LOGICAL OPERATORS
OPERATOR DESCRIPTION EXAMPLE
and True ,if both the
operands are true
X and Y
or True, if either of the
operands is true
X or Y
Not True , if operand is false not X
53. MEMBERSHIP OPERATORS
OPERATOR DESCRIPTION EXAMPLE
in True , if
value/variable is
found in the
sequence
5 in x
not in True , if
value/variable is not
found in the
sequence
5 not in x
54. IDENTITY OPERATORS
OPERATOR DESCRIPTION EXAMPLE
is True, if the
operands are
identical
X is True
is not True , if the
operands are not
identical
X is not True
55. X Y X and Y
True True True
True False False
False True False
False False False
and
56. X Y X or Y
True True True
True False True
False True True
False False False
or
61. While Loop
• The condition is checked and if it is true, control will move
inside the loop and execute the statements until the
condition becomes false.
• When we are unsure about the number of iterations
64. Nested Loops
• A loop within a loop.
• For loop inside a while loop or the other way round.
• For loop inside a for loop.
• While loop inside a while loop.