1# By Prameya
2
3from pynput.keyboard import Key, Controller
4import time
5keyboard = Controller()
6
7ans = input("Do you want to coninue the search - 'Are all parllelograms, trapeziums ?' (y/n) : ")
8if ans == "y":
9 print("ALL parallelograms are trapeziums")
10else:
11 for char in "Terminating...":
12 keyboard.press(char)
13 keyboard.release(char)
14 print(' ')
15 print(" ")
16 for cha in "Process Termination Sucessfull":
17 keyboard.press(cha)
18 keyboard.release(cha)