Generation

generate functionThu, 04 May 2023

write a function program that can convert Fahrenheit to Celcius and back, inches to feet and back, and Kg to Lbs and back

def convert(a, b): return a / b convert(1, 2)

Questions about programming?Chat with your personal AI assistant