mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-15 09:57:09 +00:00
Time: 54 ms (43.35%), Space: 13.9 MB (49.78%) - LeetHub
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
class Solution:
|
||||||
|
def convertTemperature(self, celsius: float) -> List[float]:
|
||||||
|
return [celsius + 273.15, # Kelvin
|
||||||
|
celsius * 1.80 + 32.00] # Fahrenheit
|
||||||
Reference in New Issue
Block a user