1 / 35

Introduction To Python | Edureka

** Python Certification Training: https://www.edureka.co/python **<br>This Edureka PPT on 'Introduction To Python' will help you establish a strong hold on all the fundamentals in the Python programming language. Below are the topics covered in this PPT:<br><br>Introduction To Python <br>Keywords And Identifiers <br>Variables And Data Types <br>Operators <br>Loops In Python <br>Functions <br>Classes And Objects <br>OOPS Concepts <br>File Handling <br><br>YouTube Video: https://youtu.be/uYjRzbP5aZs<br><br>Python Tutorial Playlist: https://goo.gl/WsBpKe<br>Blog Series: http://bit.ly/2sqmP4s<br><br>Follow us to never miss an update in the future.<br>YouTube: https://www.youtube.com/user/edurekaIN<br>Instagram: https://www.instagram.com/edureka_learning/<br>Facebook: https://www.facebook.com/edurekaIN/<br>Twitter: https://twitter.com/edurekain<br>LinkedIn: https://www.linkedin.com/company/edureka

EdurekaIN
Download Presentation

Introduction To Python | Edureka

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction To Python Keywords & Identifiers Variables & Data Types Operators Loops in Python Functions Classes & Objects OOPs Concepts File Handling www.edureka.co

  2. www.edureka.co

  3. OBJECT-ORIENTED OPEN-SOURCE INTERPRETED TONS OF LIBRARIES PROCEDURE ORIENTED EASY TO LEARN

  4. www.edureka.co

  5. Print(‘Hello world’) COMMENTS IN PYTHON # this is a single line comment … this is a multi-line comment The difference is uncanny … C om m ents in python C om m ents in python There are tw o types of com m ents in python 1. Single line com m ent 2. M ulti line com m ent www.edureka.co

  6. www.edureka.co

  7. K eyw ord and Identifiers K eyw ord and Identifiers K eyw ords in python are special w ords that have a specific m eaning. A nd identifiers are user defined nam es to represent a variable, function, a class or a m odule. www.edureka.co

  8. www.edureka.co

  9. WHAT IS A VARIABLE? www.edureka.co

  10. TUPLE NUMBERS LIST DATA TYPES IN PYTHON 6 1 2 3 4 5 SET STRING DICTIONARY www.edureka.co

  11. www.edureka.co

  12. Arithmetic Membership Logical OPERATORS IN PYTHON Operators Assignment Bitwise Comparison www.edureka.co

  13. www.edureka.co

  14. How Many Types Of Loops? Why Should We Use One? LOOPS IN PYTHON Iterating Over A Sequence? www.edureka.co

  15. Suppose you want to print the numbers from 0-10 0,1,2,3,4,5,6,7,8,9,10 OR Why Should We Use Loops? You want to print the sum of all even numbers until 100. OR You want to print the name of all employees in a sequence until you come across lets say ‘Ravi Mehta’ www.edureka.co

  16. Why FOR Loop? When we are iterating over a sequence. You know the number of times the statements will get executed. www.edureka.co

  17. Why WHILE Loop? When we are executing a set of statements , if the condition holds true. The execution stops as soon as the condition is false. www.edureka.co

  18. www.edureka.co

  19. www.edureka.co

  20. www.edureka.co

  21. 02 FUNCTIONS IN PYTHON HOW TO DECLARE A FUNCTION? 01 WHY USE FUNCTIONS? 03 HOW ARE WE GOING TO PASS VALUES IN A FUNCTION? www.edureka.co

  22. I have to write the logic for Factorial again and again Why Use Functions? Instead You can define a function to calculate factorial. And you can call that function every time you need to calculate factorial. www.edureka.co

  23. www.edureka.co

  24. www.edureka.co

  25. WHAT IS AN OBJECT? WHAT IS A CLASS? CLASSES & OBJECTS WHY ARE WE USING THEM? www.edureka.co

  26. You can define a class with various methods/functions Why Use Classes? You can access and modify the data stored in methods using the object of the class. A class is basically a definition of an object www.edureka.co

  27. www.edureka.co

  28. www.edureka.co

  29. Polymorphism Abstraction Encapsulation Inheritance www.edureka.co

  30. Creating a parent class Base Class Inheriting properties to a derived class or child class Derived Class You can access methods and properties from either classes by creating the objects. www.edureka.co

  31. A B A B C Multiple Inheritance C Multilevel Inheritance www.edureka.co

  32. www.edureka.co

  33. www.edureka.co

  34. www.edureka.co

More Related