Calculator 1.0 - JUMPERS

Jumper.jpg
calculator DARK wbg.jpg
Jumper b.jpg
calculator LIGHT wbg.jpg
hoodie.jpg
hoodie b.jpg
dark-j-calc_mockup_Flat-Front_Black.png
dark-j-calc_mockup_Flat-Back_Black.png
dark-j-calc_mockup_Flat-Front_Navy.png
dark-j-calc_mockup_Flat-Back_Navy.png
mockup_Flat-Front_Heather-Grey.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Front_White.png
mockup_Flat-Back_White.png
hoodie-calc_mockup_Flat-Front_Black.png
hoodie-calc_mockup_Flat-Front_Navy.png
hoodie-calc_mockup_Flat-Front_Asphalt.png
hoodie-calc-white_mockup_Flat-Front_White.png
Jumper.jpg
calculator DARK wbg.jpg
Jumper b.jpg
calculator LIGHT wbg.jpg
hoodie.jpg
hoodie b.jpg
dark-j-calc_mockup_Flat-Front_Black.png
dark-j-calc_mockup_Flat-Back_Black.png
dark-j-calc_mockup_Flat-Front_Navy.png
dark-j-calc_mockup_Flat-Back_Navy.png
mockup_Flat-Front_Heather-Grey.png
mockup_Flat-Back_Heather-Grey.png
mockup_Flat-Front_White.png
mockup_Flat-Back_White.png
hoodie-calc_mockup_Flat-Front_Black.png
hoodie-calc_mockup_Flat-Front_Navy.png
hoodie-calc_mockup_Flat-Front_Asphalt.png
hoodie-calc-white_mockup_Flat-Front_White.png

Calculator 1.0 - JUMPERS

99.00

This classic code to build a calculator in Python has transcended decades of computer science education. There's barely a python enthusiast who hasn't built a calculator in python at some stage!

CODE:

#BUILD A CALCULATOR 

from random import choice

def add(x, y):
   return x + y

def subtract(x, y):
   return x - y

def multiply(x, y):
   return x * y

def divide(x, y):
   return x / y
   
def main():
    print("Select operation.")
    print("1.Add")
    print("2.Subtract")
    print("3.Multiply")
    print("4.Divide")
    
    choice = input("Enter choice(1/2/3/4):")
    print(choice)
    
    num1 = int(input("Enter first number: "))
    num2 = int(input("Enter second number: "))
    
    if choice == 1:
       print(num1,"+",num2,"=", add(num1,num2))
    
    elif choice == 2:
       print(num1,"-",num2,"=", subtract(num1,num2))
    
    elif choice == 3:
       print(num1,"*",num2,"=", multiply(num1,num2))
    
    elif choice == 4:
       print(num1,"/",num2,"=", divide(num1,num2))
    else:
       print("Invalid input")
main()

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.