Skip to content

Convert Temperature

Andrew Burke edited this page Apr 3, 2024 · 5 revisions
def convertTemp(celsius):
	output = []
	kelvin = celsius + 273.15
	farenheit = celsius * 1.8 + 32.0
	
	output.append(kelvin)
	output.append(farenheit)
	return output
Clone this wiki locally