# A Python program to return multiple # values from a method using dictionary # This function returns a dictionary def fun(): d = dict(); d['str'] = "GeeksforGeeks" d['x'] = 20 return d # Driver code to test above method d = fun() print(d)
def showPrompt(symbol :str, container :str) -> None: while container.lower() != "exit": container = str(input(symbol))