PYTHON | Indentation

PYTHON | Indentation

in this post you can learn about Indentation in python with pythonpath,in which you can learn indention means some whitespace is important for your code structure otherwise it will display error

 
python indentation error fix,python indentation
python indentation error fix|pythonwithyp


Python : Indentation

  • indentation concept in python very important compared to other languages
  • Whitespace is used for indentation in Python
  • Python uses indentation to indicate a block of code.


Example

    if  15 > 2:
          print("Ffteen is greater than two")



This code shows the indentation Error

Example

    if  15 > 2:
    print("Ffteen is greater than two!")




Also See

Post a Comment (0)
Previous Post Next Post