def anagram_2d_runner(): """ THIS METHOD IS USED TO PRINT ANAGRAM PRIME NUMBER AND ALSO THE NON PRIME NUMBER USING 2-D ARRAY """ logic_obj = Methods() # creating the object of method class logic_obj.anagram_2d_array() # function call
def anagram_runner(): """ THIS METHOD IS USED TO PRINT PRIME ANAGRAM BETWEEN 0-1000 IN REVERSE ORDER IN A STACK """ logic_obj = Methods() # creating the object of method class logic_obj.anagram_stack() # function call
def prime_2d_runner(): """ THIS METHOD IS USED TO PRINT PRIME NUMBER BETWEEN 0-1000 USING TWO-D ARRAY """ logic_obj = Methods() # creating the objects of the method class logic_obj.prime_number_2d_array()
def calendar_runner(): """ THIS METHOD DISPLAYS THE CALENDAR """ logic_obj = Methods() # creating object of the method class try: month = int(input('Enter month: ')) # enter the month number except ValueError: print("Enter integer only ") try: year = int(input("Enter Year: ")) # enter year except ValueError: print("Enter integer only") logic_obj.calendar(month, year)
def calendar_queue_runner(): """ THIS METHOD ACT AS RUNNER FOR calender_queue(month, year) METHOD """ logic_obj = Methods() # creating object of the method class try: month = int(input('Enter Month:')) # enter the month number except Exception as e: print(e) print("Enter integer only ") try: year = int(input('Enter year:')) # enter the year except Exception as e: print(e) print("Enter integer only") logic_obj.calendar_queue(month, year)
def calender_stack_runner(): """ THIS METHOD IS USED TO RUN THE CALENDAR """ logic_obj = Methods() # creating object of the method class try: month = int(input('Enter Month')) # enter the month number except Exception as e: print(e) print("Enter integer only ") try: year = int(input('Enter Year')) # enter the year except Exception as e: print(e) print("Enter integer only") logic_obj.calender_stack(month, year)
def anagram_runner(): """ THIS METHOD WILL PRINT PRIME ANAGRAMS IN A QUEUE """ logic_obj = Methods() # creating the object of method class logic_obj.anagram_queue() # function call