Conjunto de iteração de Python
cuisine = {"american", "italian", "chinese"}
for food in cuisine:
print(food)
CompSciGeek
cuisine = {"american", "italian", "chinese"}
for food in cuisine:
print(food)
# Creating a set using string
test_set = set("geEks")
# Iterating using for loop
for val in test_set:
print(val)