w5 2
This commit is contained in:
13
week5/Dict Exercise/ex2.py
Normal file
13
week5/Dict Exercise/ex2.py
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
def main():
|
||||
print('==Exercise 2==')
|
||||
d = {i:i*i for i in range(1,16)}
|
||||
|
||||
print(f"Dict: {d}")
|
||||
|
||||
print('==End Of Ex2==')
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user