13 lines
No EOL
206 B
Python
13 lines
No EOL
206 B
Python
def times_3(x):
|
|
""" Multiply x by 3.
|
|
|
|
Parameters
|
|
----------
|
|
x : The item to multiply by 3.
|
|
"""
|
|
return x * 3
|
|
|
|
|
|
if __name__ == '__main__':
|
|
print(times_3(2))
|
|
print(times_3("a")) |