7 lines
110 B
Mojo
Generated
7 lines
110 B
Mojo
Generated
def scale(factor: Int, x: Int) -> Int:
|
|
return x * factor
|
|
|
|
|
|
def main():
|
|
print("Scaled:", scale[3](14))
|