Repository navigation
Expand file tree
/
Copy path001-Introduction-Program.py
More file actions
42 lines (35 loc) · 1.95 KB
/
Copy path001-Introduction-Program.py
File metadata and controls
42 lines (35 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
'''
===============================================================================
Introduction Program
===============================================================================
Program Description:
--------------------
This program introduces Python programming.
It demonstrates how to display text on the console using the print() function.
This is generally the first program written by beginners while learning Python.
Author : Shaik Mahaboob Basha
Repository : 13-Python
File Name : 01-Introduction-Program.py
===============================================================================
'''
# -----------------------------------------------------------------------------
# Displaying a welcome message on the console.
# print() is a built-in Python function used to display output.
# -----------------------------------------------------------------------------
print("Welcome to Python Programming!") # Output: Welcome to Python Programming!
# -----------------------------------------------------------------------------
# Displaying information about Python.
# This statement tells the user about Python.
# -----------------------------------------------------------------------------
print("Python is a simple, powerful, and easy-to-learn programming language.")
# Output: Python is a simple, powerful, and easy-to-learn programming language.
# -----------------------------------------------------------------------------
# Displaying the purpose of this program.
# -----------------------------------------------------------------------------
print("This is the first Python program.")
# Output: This is the first Python program.
# -----------------------------------------------------------------------------
# Displaying a motivational learning message.
# -----------------------------------------------------------------------------
print("Happy Learning and Keep Coding!")
# Output: Happy Learning and Keep Coding!