use simple repeat loop (page to find and print five randomly chosen numbers from the range use the same value of that the user chose earlier in the program it should be possible that the number is printed sometimes text triangle exercise write program texttriangle py thistoois not graphics program prompt the user for small positive integer valuethat 'll call then use for-loop with range function call to make triangular arrangement of '#'characterswith '#characters in the last line hint then leave blank line then make similar triangleexcept start with the line with '#characters to make the second triangleyou can use for-loop of the form discussed so farbut that is trickier than looking ahead to the most general range function (page and using for-loop where range function call has negative step size here is the screen after posible run with user input enter small positive integer ############and another possible run with user input enter small positive integer ## files this section fits here logically (as an important built-in type of objectbut it is not needed for the next more on flow of control (page thus far you have been able to save programsbut anything produced during the execution of program has been lost when the program ends data has not persisted past the end of execution just as programs live on in filesyou can generate and read data files in python that persist after your program has finished running as far as python is concerneda file is just string (often very large!stored on your file systemthat you can read or writegradually or all together directory is an old name for folder these ideas go back far enough to the time before directories got graphical folder representation for this section we use the word directory to mean the same thing as folder row of '#characters is easiest if you remember the string multiplication operator objects and methods