0% found this document useful (0 votes)
3 views3 pages

Basic Python-Wps Office

Python is a high-level programming language used for various applications including software development, AI, and automation. It is popular due to its ease of learning, clean syntax, and extensive community support. The document outlines the steps to install Python, write a simple program, and suggests further topics for learning.

Uploaded by

Ayush Tiwari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Basic Python-Wps Office

Python is a high-level programming language used for various applications including software development, AI, and automation. It is popular due to its ease of learning, clean syntax, and extensive community support. The document outlines the steps to install Python, write a simple program, and suggests further topics for learning.

Uploaded by

Ayush Tiwari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

BASIC PYTHON

0.1 What is python?

Python is a high-level programming language used to create


software,websites,mobile applications,games,artificial intelligence(Al)systems,and
automation tools.

Example:

Python

print("Hello,World!")

This code displays:

Hello,World!

[Link] Python is popular

Easy to learn and read

Simple and clean syntax

Widely used in Al and Machine Learning

Large community and many learning resources

lmagine a computer is very smart,but it only does exactly what you tell it.

Python is a language you use to "talk"to the computer and give it instructions.

For example,if you write:

Python

print("Hello!")

the computer will show:

Hello!
With Python,you can:

Build websites

Create games

Make apps

Analyze data l

Develop Al tools like ChatGPT

Automate repetitive tasks

[Link] next step is to install Python and write your first program.

Step 1:Install Python

Go to:

[Link]

Download and install the latest version for your computer.

Step 2:Open Python

After installation,open IDLE(comes with Python)or a code editor like:

[Link] ?

Step 3:Write your first program

Python

name =input("What is your name?“)

print("Hello,",name)

Step 4:Run it

The program will ask for your name and then greet you.

What to learn next


Variables (name ="Ayush")
Input and output (input(),print())

f statements(if,else)

Loops (for,while)

Functions

Small projects

You might also like