Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- import time
- ang = float(input('Escolha um angulo qualquer: '))
- print('Calculando...')
- time.sleep(1)
- print('1...')
- time.sleep(1)
- print('2...')
- time.sleep(1)
- print('3...')
- time.sleep(1.5)
- print('CALCULO FINALIZADO')
- print('Considerando o ângulo {}'.format(ang))
- time.sleep(1)
- ang = math.radians(ang)
- sen = math.sin(ang)
- cos = math.cos(ang)
- tg =math.tan(ang)
- time.sleep(1)
- print('Seu Seno é: {:.2f}'.format(sen))
- time.sleep(1)
- print('Seu Cosseno é: {:.2f}'.format(cos))
- time.sleep(1)
- print('Sua Tangente é: {:.2f}'.format(tg))
- time.sleep(3)
Add Comment
Please, Sign In to add comment