0% found this document useful (0 votes)
11 views2 pages

RollNo 17

Uploaded by

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

RollNo 17

Uploaded by

njanu0781
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Govt.

Post Graduate
College khanewal
Assignment
Computer Programming with Python

Topic:
Arithmetic Operators

Submitted By:

Muhammad Nasir

Roll Number:

17

Submitted To:
Mr.Saleem Anjum

Department:
BS Mathematics

Dated:
07-01-2025
Operators:
Operators are special symbols that represent computations like addition
and multiplication.

Operands:
The values the operator is applied to are called operands.

>>>#Arthimetic Operators
>>>a= 23.75
>>>b=99.100
>>>Sum=a+b
>>>print(Sum)
122.85
>>>Subtraction=a-b
>>>print(Subtraction)
-75.35
>>>Multiplication=a*b
>>>print(Multiplication)
2353.625
>>>Division=a/b
>>>print(Division)
0.23965691220988902
>>>Remainder=a%b
>>>print(Remainder)
23.75
>>>s=2
>>>u=3
>>>Power=s**u
>>>Print(Power)
8

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy