Basic: Concepts – CircleCalc_YI.py and isMultiple_YI.py

Programming Assignments for claswork/Homework:

  1. Write a program, CircleCalc_YI.py that reads in the radius of a circle and prints with an user friendly message the circle’s diameter, circumference and area.
    After your header:

    import math # on first line
    piVariable = math.pi

  2. circle

  3. Write a program, isMultiple_YI.py that reads in two integers and determines and prints with an user friendly message whether the first is a multiple of the second. ( Hint: Use the modulus operator. )

multiple