Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- from raiz import calcular_raiz as c, imprimir_raices as i
- while True:
- numero = float(input("Ingrese un nro: "))
- raices = c(numero)
- i(raices)
- opcion = input("Presione cualquier tecla para continuar ('X' para salir): ")
- if opcion.casefold() == "x":
- print("Gracias por usar este programa...")
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement