1. Which way among them is used to create an event loop ?
Window.mainloop()
2. Suppose we have a set a {10,9,8,7}, and we execute a.remove(14) what will happen ?
Key error is raised. The remove() method removes the specified element from the set.
Th…