Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Rules to define Identifiers in Python:

Vinay Rawal answered on April 1, 2023 Popularity 8/10 Helpfulness 2/10

Contents


More Related Answers

  • identifiers in pyhton
  • get_identifiers python template

  • Rules to define Identifiers in Python:

    0

    1. The only allowed characters in Python are

     alphabet symbols(either lower case or upper case)  digits(0 to 9)  underscore symbol(_)

    By mistake if we are using any other symbol like $ then we will get syntax error.

     cash = 10 √  ca$h =20 

    2. Identifier should not starts with digit

     123total   total123 √

    3. Identifiers are case sensitive. Of course Python language is case sensitive language.

     total=10  TOTAL=999  print(total) #10  print(TOTAL) #999

    9 https://www.youtube.com/durgasoftware

    Popularity 8/10 Helpfulness 2/10 Language python
    Source: Grepper
    Tags: python rules
    Link to this answer
    Share Copy Link
    Contributed on Apr 01 2023
    Vinay Rawal
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 8/10 Helpfulness 2/10 Language python
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Nov 13 2023
    Emmanuel Ani
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.