CS Assignment
CS Assignment
assignment
Advantages of python
Python is a highly popular programming
language known for its versatility, simplicity,
and wide range of applications. Here are
some key advantages of Python:
1. Readability and Simplicity
2. Versatile and multi-Purpose
3. Extensive Libraries and
Frameworks
4. Productivity and speed
5. Integration Capabilities
2. Variable assignment:
x = 10
y = 3.14
name = "Alice"
x is an integer, y is a float,
and name is a string
3. For Loop:
for i in range (5):
print(i)
Output: 0 1 2 3 4