a function that will take an integer and print out ascending…

Question Answered step-by-step a function that will take an integer and print out ascending… a function that will take an integer and print out ascending numbers.  Code to get you started is as followsdef printascending(n):    #fill in this part with you codearr = [4,6,8,9][printascending(i) for i in arr]Output given the above code fragment will be 123412345612345678123456789 Computer Science Engineering & Technology Python Programming CS 5320 Share QuestionEmailCopy link Comments (0)