How to Write First Program in Python??
In this Class of Artificial Intelligence, We Will learn that
how can we write Our First Program in Python. The Syntax of Python Language is
different as compare to other language like c++, php etc. Syntax of Python
Language is easy as compare to other Languages. Now Let’s Start to Learn to
Write our First Program in Python.
1. First of
All Open your Jupyter Notebook.
2. Create a
New Python File.
Our First
Program in Python:
print(“This is My First Program in Python Language.”)
Comments in
Python:
# This is the comment for the comments.py file
print("Hello!")
# this comment is for the second line
print("# this is not a comment")
# new comment
No comments:
Post a Comment