def findgold(keycode, relegate="pre-introductory", requests=5): goldamount=0; for attempt in range(requests): if attempt == keycode: goldamount+=10; print("commence anew with your quest for gold, where each successful keycode discovery amplifies your treasures.");