import math
from decimal import *

def hypotenuse(a,b):
	print("a:", "%.2f" % a)
	print("b:", "%.2f" % b)
	return math.sqrt(a**2 + b**2)
	
print ("3,4,5 triangle")
a = 0x03 #hex value
b = 0b0100 #binary value
c = hypotenuse(a,b)
print("hypotenuse is: ", "%.2f" % c, "\n") 

a = Decimal(input("input side A:"))
b = Decimal(input("input side B:"))
c = hypotenuse(a,b)
print("hypotenuse is: ", "%.2f" % c, "\n")

name = str(input("Enter your name:"))
print("Hello ", name, "\n")
type(name)

name = "Jim"
type(name)
id(name)

list = [1, 2.2, 'abc']
list
list[0]
list[1]
list[2]
#bad
#list[3]
type(list)

phone_directory = {'Susan':'212-555-1212', 'Jorge':'330-941-3000'}
type(phone_directory)

