Skip to content

Commit 2e9fd8a

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
values=input("")
2-
l=values.split(",")
3-
t=tuple(l)
4-
print (l)
5-
print (t)
1+
# Your code here
2+
def list_and_tuple(*args):
3+
string_list = [str(num) for num in args]
4+
string_tuple = tuple(string_list)
5+
6+
return string_list, string_tuple
67

7-
#
8-
values=input("")
9-
t=tuple(values.split(','))
10-
print(t)
8+
result_list, result_tuple = list_and_tuple(1, 2, 3, 4, 5)
9+
print(result_list)
10+
print(result_tuple)

0 commit comments

Comments
 (0)