I have an input in a function, where it requires to print a dictionary and actually choose the number you want (based on your choice) however its not working for me.
def add_item():
item = str(input("Gender> "))
types = int(input(print_nationality(), "Choice >"))
...
def print_nationality():
dict = {
1: "English",
2: "American",
3: "French",
4: "Spanish"
}
for i in range(len(dict)):
print(dict[i])