1 / 10

Variables In Python - 5 | What Is A Variable In Python | Python For Beginners |

This presentation will help you learn a fundamental topic, i.e., variables in Python. You will understand what is a variable and how to create variables in Python. You will get an idea on how Python stores data using variables and look at object references. You will see the important rules for Python variables and understand variables in Python with hands-on demonstration.<br><br>Below are the topics that you will learn in these variables in Python presentation:<br><br>1. What is a Variable?<br>2. Object References in Python<br>3. Rules for Python variables<br>4. Python variables demo

Simplilearn
Télécharger la présentation

Variables In Python - 5 | What Is A Variable In Python | Python For Beginners |

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. Click here to watch the video

  2. What’s in it for you? What is Variable? Object references Rules for Python variables

  3. Variable Variables are containers for storing data values x = “Audi" Python allows you to assign values to multiple variables in one line: x, y, z = “Audi", "BMW", “Mercedes"

  4. Object references Variable object a=50 50 a

  5. Object references a=50 b=a Variable Variable object 50 b a

  6. Object references a= 50 b=100 object object Variable Variable 50 a 100 b

  7. Rules for Python variables A variable name must start with a letter or the underscore character A variable name cannot start with a number A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) Variable names are case-sensitive (date, Date and DATE are three different variables) • There are several techniques to write multi words variable • Camel case • Pascal case • Snake case

  8. Join us to learn more! simplilearn.com UNITED STATES Simplilearn Solutions Pvt. Limited 201 Spear Street, Suite 1100 San Francisco, CA 94105 Phone: (415) 741-3319 INDIA Simplilearn Solutions Pvt. Limited #53/1C, 24th Main, 2nd Sector HSR Layout, Bangalore 560102 Phone: +91 8069999471 UNITED STATES Simplilearn Solutions Pvt. Limited 801 Corporate Center Drive, Suite 138 Raleigh, NC 27607 Phone: (919) 205-5565

More Related