break exit the loop when the user enters valid number print('please enter number greater than or quit 'print(handle the special cases if the user entered or if nth = print(' 'print(print('the # fibonacci number is 'continue elif nth = print(' 'print(print('the # fibonacci number is 'continue display warning if the user entered large numberif nth > print('warningthis will take while to display on the'print('screen if you want to quit this program before it is'print('donepress ctrl- 'input('press enter to begin 'calculate the nth fibonacci numbersecondtolastnumber lastnumber fibnumberscalculated print(' 'end=''display the first two fibonacci numbers display all the later numbers of the fibonacci sequencewhile truenextnumber secondtolastnumber lastnumber fibnumberscalculated + display the next number in the sequenceprint(nextnumberend=''check if we've found the nth number the user wantsif fibnumberscalculated =nthprint(print(print('the #'fibnumberscalculatedfibonacci ''number is 'nextnumbersep=''break print comma in between the sequence numbersprint(''end=''shift the last two numberssecondtolastnumber lastnumber lastnumber nextnumber fibonacci