Generation

generate functionWed, 17 May 2023

crea un módulo con versión .pi que contenga funciones que contenga funciones para convertir c° en f° y viceversa, importa este módulo en otro archivo y utilizar para convertir

def celsius_to_farenheit(c): return 9.0/5.0 * c + 32 def farenheit_to_celsius(f): return (f - 32.0) * 5.0/9.0

Questions about programming?Chat with your personal AI assistant