import my_math print(my_math.area_quad(5)) print(my_math.area_ret(5, 10)) print(my_math.peri_quad(10))
# -*- coding: utf-8 -*- from my_math import area_quad from my_math import area_ret from my_math import peri_quad from my_convert import list_to_tuple #função de converssão de lista para tupla print(area_quad(5)) print(area_ret(5, 10)) print(peri_quad(10)) #criando uma lista lista = [1, 2, 3, 4] print(lista) tupla = list_to_tuple(lista) print(tupla)
# -*- coding: utf-8 -*- """ Created on Fri Aug 4 22:28:10 2017 @author: Leonardo """ #from my_math import area_quad import my_math as mm #print(my_math.area_quad(5)) #print(my_math.area_ret(5,10)) print(mm.area_quad(5)) print(mm.area_ret(5, 10)) print(mm.peri_quad(6))