week-5 #6

Merged
Kenwood merged 12 commits from week-5 into master 2021-02-08 00:20:27 -05:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 291fc92aa6 - Show all commits

9
5/5.12/5.12.1/main.py Normal file
View File

@ -0,0 +1,9 @@
def swap(list):
m_list = list[0], list[-1] = list[-1], list[0]
return m_list
values_list = input().split(',') # Program receives comma-separated values like 5,4,12,19
swap(values_list)
print(values_list)