Skip to content

Commit 1990089

Browse files
authored
Update solution.hide.py
1 parent 2e9fd8a commit 1990089

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Your code here
2-
def list_and_tuple(*args):
3-
string_list = [str(num) for num in args]
4-
string_tuple = tuple(string_list)
2+
def list_and_tuple(*nums):
3+
new_list = [str(num) for num in nums]
4+
new_tuple = tuple(new_list)
55

6-
return string_list, string_tuple
6+
return new_list, new_tuple
77

8-
result_list, result_tuple = list_and_tuple(1, 2, 3, 4, 5)
8+
9+
result_list, result_tuple = list_and_tuple(5, 4, 13, 24, 45)
910
print(result_list)
1011
print(result_tuple)

0 commit comments

Comments
 (0)