Blog Introductions
In this blog contains tutorials about HTML Tutorials, Python Tutorials, CSS Tutorials, How to, PHP Tutorials, Java Tutorials, C++ Tutorials, Tutorials, Examples, Source code,Learning,
Tips and Software development services. Python Basic Syntex and output | Python tutorials Bestitworriors
Python Basic Syntex and output
Python Basic Syntex and output | Python tutorials Bestitworriors - Python file have filename.py extenssion . Python file use to write python script.Python syntex is very simple and easy to understand and write.Python focus on space at the begning of line called as python indentation .IF you will give space at the begning it will give an error message.Python indentation is main key point in python syntex.Python also support single line and multiline comments.Python use print() function to show output
Some Key Points of Python Syntex and Output
- Python syntex is very easy and close to human understandable
- Python file extension is .py
- Python focus on line indentation
- Python support single line and multiple line comments
- Python use print() function to print the value.
Code
#Python Indetations
if 6 > 3:
print("Five is greater than two!")
# This is a comment
print("Helo Best IT Worrior")
"""
Multi
line
comments
"""
print("Helo Best IT Worrior")
OutPut
Five is greater than two!
Helo Best IT Worrior
Helo Best IT Worrior
Helo Best IT Worrior
Helo Best IT Worrior
0 Comments