EasyOutput prediction
Type hints are not enforced at runtime
What does this code print?
def double(x: int) -> int:
return x * 2
print(double("ha"))← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
def double(x: int) -> int:
return x * 2
print(double("ha"))← → arrow keys to navigate
Sign in to save your progress.