Loops

list1=[["Sus",10],["Amongus",87],["Potatus",10],["Chungus",7],["Meus",5]]
for item,pop in list1:
if type(pop)==int and pop>6:
print(pop)

Comments

Popular posts from this blog

Y.T Videos downloader [Python]

Some functions#1

Class in python