Quiz: Python Arithmetic


Complete the following exercises and submit your code:

# Write a Python program to get the the volume of a sphere with radius 8.

pi = 3.1415926535897931
r= 8.0
print('The volume of the sphere is: ',V)

# Modulo Operator with integers

# 1. Print the modulo 2 of 'x'
x = 23

# 2. Print the modulo 5.5 of 'y'
y = 12.5


  • Is there anything we can help with up to this point? Do you have something to suggest about this chapter? Let us know in the comments below.

5 replies on “Quiz: Python Arithmetic”

its better to put an example to one solution for quiz
i didn’t understand how is the way to put the solution.
many thanks.

Leave a Reply