Added week 5
This commit is contained in:
15
week5/ex5.py
Normal file
15
week5/ex5.py
Normal file
@@ -0,0 +1,15 @@
|
||||
def main():
|
||||
d1 = {0: 10, 1: 20}
|
||||
print('==Exercise 5==')
|
||||
|
||||
print(f"Before: {d1}")
|
||||
|
||||
d1[2] = 30
|
||||
|
||||
print(f"After: {d1}")
|
||||
|
||||
print('==End Of Ex5==')
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user