Project (190329.)
Project (190329.)
Problem Solving: They enable the creation of algorithms and logic to solve
real-world problems effectively.
1991:
Python: Created by Guido van Rossum, emphasizing simplicity and readability.
1995:
Python 0.9.0 (1991) marked its first public release, with core features like exception handling
and modules.
Python 2.0 (2000) introduced features like list comprehensions and garbage collection,
becoming the dominant version for the next decade.
Python 3.0 (2008) was a major overhaul that introduced backward-incompatible changes to fix
design flaws. While controversial at first, Python 3 gained widespread adoption, especially with
the advent of Python 3.6 and later versions, which added features like f-strings, type hinting,
and async/await support.
Python 2.7, the final version of Python 2, was officially supported until 2020, after which Python
2 reached its end of life.
In the 2010s and beyond, Python became the go-to language for data science, AI, web development,
and automation due to its simplicity, vast ecosystem of libraries, and strong community. Today,
Python is one of the most popular and versatile programming languages worldwide.
Chapter-02
Basic Python Programming
Some basic and primary program in python given below:
hello world
5.0+3.0=10.0
enter a number: 5
5 is Odd.
enter a number:5
5!=120
6.Reverse a string:
text=input("enter a string")
reversed_text=text[::-1]
print(f"reversed string:{reversed_text}")
output:
reversed string:ahsiam ma i
These programs cover basic Python concepts like input and output, loops, conditionals, functions and
lists.