0% found this document useful (0 votes)
30 views5 pages

Python Math Operations Assignment Guide

The document outlines an assignment for students at Ratan Tata Maharashtra State Skills University focused on basic mathematical operations using Python. It includes a problem statement requiring the input of numbers to calculate sum, average, minimum, and maximum values, along with theoretical explanations of programming languages, Python, and various IDEs. Additionally, it provides algorithms and pseudo code for tasks related to addition and finding minimum and maximum values.

Uploaded by

ad7346481
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)
30 views5 pages

Python Math Operations Assignment Guide

The document outlines an assignment for students at Ratan Tata Maharashtra State Skills University focused on basic mathematical operations using Python. It includes a problem statement requiring the input of numbers to calculate sum, average, minimum, and maximum values, along with theoretical explanations of programming languages, Python, and various IDEs. Additionally, it provides algorithms and pseudo code for tasks related to addition and finding minimum and maximum values.

Uploaded by

ad7346481
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

RATAN TATA MAHARASHTRA STATE SKILLS UNIVERSITY

School of Science Engineering and Technology Skills

Department of Engineering

Assignment -1
 Problem statement: -Input a few numbers from user and do various mathematical
operation sum, average, find Min and Max
 ID: - V.S. CODE
 Python: - Python 3.12
 Function: - Sum, Average, Min and Max
 Theory: -
 What is Programing Language?
A programming language is a formal, artificial language designed to
communicate instructions to a computer or computing device. It provides a
vocabulary and a set of grammatical rules (syntax) that allow humans to write
code, which is then translated into machine-readable instructions that the
computer can execute.
 What is Python?
Python is a high-level, general-purpose programming language known for its
readability and ease of use.
 History of Python?
It was created by Guido van Rossum and first released in 1991. The name
"Python" is a tribute to the British comedy group Monty Python. Python’s first
version was v0.9.0.
 What are IDES in Python? Explain Visual Code Studio with installation steps.
Some popular Python IDEs include:
 PyCharm – Powerful, feature-rich IDE from JetBrains, great for professional
projects.
Visual Studio Code (VS Code) – Lightweight, fast, and highly customizable editor
with Python support via extensions.
 Jupyter Notebook – Best for data science, visualization, and interactive coding.
Spyder – Popular for scientific programming (comes with Anaconda).
 Thonny – Beginner-friendly IDE for learning Python.
RATAN TATA MAHARASHTRA STATE SKILLS UNIVERSITY

School of Science Engineering and Technology Skills

Department of Engineering

 IDLE – Python’s default built-in IDE.

 Task 1: - Addition of numbers


Problem: input 2 numbers and do operation of addition and average
Input

Output

Algorithm: Sum and Average of Two Numbers


[Link]
[Link] first number → num1
[Link] second number → num2
[Link] sum → sum = num1 + num2
RATAN TATA MAHARASHTRA STATE SKILLS UNIVERSITY

School of Science Engineering and Technology Skills

Department of Engineering

[Link] average → average = sum / 2


[Link] the value of sum
[Link] the value of average
[Link]
Flowchart:

Pseudo Code:
[Link]--num1
[Link]--num2
[Link]---num1 +num2
[Link]--- sum/2
[Link]---sum
[Link]---avg
 Task 2: -Min and Max
Problem: enter numbers and use min and max operations
RATAN TATA MAHARASHTRA STATE SKILLS UNIVERSITY

School of Science Engineering and Technology Skills

Department of Engineering

Program
Input:

Output:

Algorithm:
[Link]
2. enter numbers in X, Y and in a, b also
[Link] max and min on all variable
[Link] the output
[Link]
Flowchart:
RATAN TATA MAHARASHTRA STATE SKILLS UNIVERSITY

School of Science Engineering and Technology Skills

Department of Engineering

Pseudo Code:
[Link]—a, b
[Link]—X, Y
[Link]—max
[Link]--min
[Link]--max
[Link]--min

You might also like