Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Python full basics and details

Rating
-
Sold
-
Pages
42
Uploaded on
09-05-2026
Written in
2025/2026

This pdf mentions full basics of python and school level code of python including python installation.

Institution
Course

Content preview

1.
I. Use a web browser to go to the Python website http://python.org. This page
contains information about Python and links to Python-related pages, and it gives
you the ability to search the Python documentation.
II. Start the Python interpreter and type help() to start the online help utility.




✍ Python3 installation procedure in Linux
(Ubuntu) :


All most all Linux (Ubuntu) operating systems came up
with python 2. 7. To check the python version in your Linux
(Ubuntu) system, open terminal by pressing Ctrl + ALT +
T and then type following command press enter.
Programming



$ python --version (or) $ python -V


Then we get version of python i.e. Python 2.7.12



In this tutorial we are going to install Python 3 on Linux
(Ubuntu) Operating System.


To install Python 3

1. To update software packages on your system, execute the
following command in terminal

,2. $ sudo apt-get update



3. After successful updating of software packages, To install
python3, execute the following command in terminal



4. $ sudo apt-get install python3



5. To check if python is install properlyor not, we will check the
version of python



6. $ python3 --version (or) $ python3 -V



Then we get version of python3 i.e. Python
3.13.x i.e, Python3 setup successful in Linux (Ubuntu)
operating system.

Scripting Languages

,II. Start the Python interpreter and type
help() to start the online help utility.
To Start the Python interpreter in your Linux (Ubuntu)
system, open terminal by pressing Ctrl + ALT + T and
then type following command press enter.



$ python3


And then type following command press enter.



>>> help()


The following is the sample output screenshot
Programming

, 2. Start a Python interpreter and use it as a Calculator.


Integer to Float :


>>> a = 10
>>> b = 3.25

>>> print (type(a))
< class ' int ' >

>>> print (type(b))
< class ' float ' >

>>> print ( a + b )
13.25

Written for

Institution
Course

Document information

Uploaded on
May 9, 2026
Number of pages
42
Written in
2025/2026
Type
Class notes
Professor(s)
Sharanireddy
Contains
All classes

Subjects

$9.29
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sharuubommireddy

Get to know the seller

Seller avatar
sharuubommireddy JNTH
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 day
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions