feat(r-1.3_scratch.py): Started again after more reading
This commit is contained in:
@@ -4,6 +4,7 @@ def is_multiple(n, m):
|
||||
else:
|
||||
print(False)
|
||||
|
||||
|
||||
print('Is "n" a multiple of "m"?')
|
||||
is_multiple(float(input('Give a value for n: ')), float(input('Give a value for m: ')))
|
||||
|
||||
@@ -14,5 +14,6 @@ def is_even(k):
|
||||
else:
|
||||
print(False)
|
||||
|
||||
|
||||
print('Is "k" an even number?')
|
||||
is_even(int(input('Give a value for k: ')))
|
||||
@@ -9,7 +9,8 @@ I will start again soon, scrapping the input loop idea and just focusing on
|
||||
function itself.
|
||||
"""
|
||||
|
||||
def minmax(data):
|
||||
|
||||
def minmax(*data):
|
||||
print(data)
|
||||
|
||||
|
||||
minmax(24, 3, 84.26, -15)
|
||||
Reference in New Issue
Block a user