migration from cloud service
This commit is contained in:
14
week3/ex5.py
Normal file
14
week3/ex5.py
Normal file
@@ -0,0 +1,14 @@
|
||||
def main():
|
||||
list1 = ["M", "na", "i", "Ke"]
|
||||
list2 = ["y", "me", "s", "lly"]
|
||||
|
||||
list3 = [f'{list1[i]}{list2[i]}' for i in range(len(list1))]
|
||||
|
||||
|
||||
print('==Exercise 5==')
|
||||
print(list3)
|
||||
print('==End Of Ex5==')
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user