Pages

Python First Class

What is Python? 

Python is a popular programming language known for its simplicity and readability. It's used for various purposes like web development, data analysis, and artificial intelligence. It's a great language to learn.

Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

It is used for:

  • web development (server-side),
  • software development,
  • mathematics,
  • system scripting.

What can python do? 

  • Python can be used on a server to create web applications.
  • Python can be used alongside software to create workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python can be used to handle big data and perform complex mathematics.
  • Python can be used for rapid prototyping, or for production-ready software development.

Why python? 

  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a simple syntax similar to the English language.
  • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
  • Python can be treated in a procedural way, an object-oriented way or a functional way.

How to writ Python code? 

Example:  1


Output will be:


Example:  2

Output will be:



Example:  3

Output will be:


Example:  4


Output will be:



















No comments:

Post a Comment