root=Tk();
root.title("Title");
root.geometry("300x250");
root.mainloop()[ root.x[1]([x[2]]) for x in [[title, 'Title'], [geometry, '300x250']] ]
[getattr(root, attr)(value) for attr, value in [('title', 'Title'), ('geometry', '300x250') ]]