Python Programming
Subject: Computing Task Sheet
Name: ____Ibrahim Alavi____________Year: 8 Section: __A__
Date: ____12-February-2024_____________
AY 2023-24 Enter your name Section 1
Task 1
Write a user defined Python program to calculate the
volume of a sphere. User will enter the radius
Volume of a Sphere
A sphere is a three-dimensional solid with no face, no
edge, no base and no vertex. It is a round body with all
points on its surface equidistant from the center. The
volume of a sphere is measured in cubic units.
The volume of the sphere is : V = 4/3 × π × r3
Paste the screenshot in the slide 3
Explain the different types of operators available in
Python. Provide examples for each type and discuss
their specific functionalities.
• Arithmetic Operators: Perform mathematical operations
like addition, subtraction, multiplication, division, etc.
• Comparison Operators: Compare values and return True
or False.
• Logical Operators: Combine conditional statements.
• Assignment Operators: Assign values to variables.
• Bitwise Operators: Perform bit-level operations on
binary representations of integers.