You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def f():
d:dict[i32,i32] = {1 : 100,2 : 200,3 : 300,4 : 400}
i:i32
for i in d: # for in works with string, list, tuple, set
print(i)
f()
(lp) C:\Users\kunni\lpython>python try.py
1
2
3
4
The text was updated successfully, but these errors were encountered:
faze-geek
changed the title
Enhance Data Structures: Support for iteration of dict
Enhance Data Structures : Support for in iteration of dictJun 7, 2023
The text was updated successfully, but these errors were encountered: