Area Calculator - JUMPERS

5454_m.jpg
mockup_Flat-Back_Black.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png
Area Calc LIGHT.jpg
5495_m.jpg
5495_m_b.jpg
Area-Calc-DARK-PR_mockup_Flat-Front_Asphalt.png
Area-Calc-DARK-PR_mockup_Flat-Front_Black.png
Area-Calc-DARK-PR_mockup_Flat-Front_Navy.png
Area-Calc-LIGHT-PR_mockup_Flat-Front_White.png
5454_m.jpg
mockup_Flat-Back_Black.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Back_Navy.png
mockup_Flat-Back_White.png
Area Calc LIGHT.jpg
5495_m.jpg
5495_m_b.jpg
Area-Calc-DARK-PR_mockup_Flat-Front_Asphalt.png
Area-Calc-DARK-PR_mockup_Flat-Front_Black.png
Area-Calc-DARK-PR_mockup_Flat-Front_Navy.png
Area-Calc-LIGHT-PR_mockup_Flat-Front_White.png

Area Calculator - JUMPERS

99.00

A neat area calculator in python!

CODE:

from math import pi

print "Welcome to the Area Calculator!"

exit = "Y"

while (exit == "Y"):

    option = raw_input("Enter C for Circle, T for Triangle, S for Square, "
                       "R for Rectangle, P for Parallelogram, or TZ for Trapezoid: ")

    option = option.upper()

    if option == 'C':
        radius = float(raw_input("Enter the radius: "))
        area = pi * radius**2
        print ("Area: %.2f." % (area))
    elif option == 'T':
            base = float(raw_input("Enter the base: "))
            height = float(raw_input("Enter the height: "))
            area = (0.5)*base*height
            print ("Area: %.2f." % (area))
    elif option == 'S':
            length = float(raw_input("Enter the length of any side: "))
            area = length*length
            print ("Area: %.2f." % (area))
    elif option == 'R':
            length = float(raw_input("Enter the length: "))
            width = float(raw_input("Enter the width: "))
            area = length*width
            print ("Area: %.2f." % (area))
    elif option == 'P':
            base = float(raw_input("Enter the base: "))
            height = float(raw_input("Enter the height: "))
            area = base*height
            print ("Area: %.2f." % (area))
    elif option == 'TZ':
            top_base = float(raw_input("Enter the top base: "))
            bottom_base = float(raw_input("Enter the bottom base: "))
            height = float(raw_input("Enter the height: "))
            area = ((top_base+bottom_base)/2)*height
            print ("Area: %.2f." % (area))
    else:
            print "Make sure you enter the correct character type!"
    exit = raw_input("Type Y to start again, or N to exit: ")
    exit = exit.upper()
print "Exiting"

COLOUR:
SIZE:
ITEM:
Quantity:
Add To Cart

All Syntaxd products are printed and shipped world-wide from a state-of-the-art facility in California, USA. 

We use super-high res printing files to ensure graphics are super crisp and clean!

Our ultra-premium sweaters feature the following for ultimate comfort: 

  • 100% California fleece cotton (Heather Grey contains 10% Polyester)

  • Raglan sleeves

  • Fabric weight 7.2 oz/yd2

  • Crew neckline

Our crew-necked sweater is made out of California fleece which, opposed to typical synthetic fleece, is made out of 100% extra soft ring-spun combed cotton (Heather Grey contains 10% Polyester). It's pre-washed to minimize shrinkage and is breathable yet extra thick for warmth.


Our ultra-premium hoodies feature the following for ultimate comfort: 

  • 100% California fleece cotton

  • Hooded with matching finished polyester drawcord

  • Raglan sleeves

  • Kangaroo pocket

  • Fabric weight 7.2 oz/yd2

  • Made in California

Our hoodies are made out of California fleece which, opposed to typical synthetic fleece, is made of 100% extra soft ring-spun combed cotton. It's pre-washed to minimize shrinkage, and is breathable yet extra thick for warmth.