Instead of doing this:
A = (self.findChild(QtWidgets.QLineEdit, 'A')).text() # Find the input
B = (self.findChild(QtWidgets.QLineEdit, 'B')).text()
C = (self.findChild(QtWidgets.QLineEdit, 'C')).text()
I want to do something like this:
for x in ['A', 'B', 'C']:
x = (self.findChild(QtWidgets.QLineEdit, 'x')).text()
How do you write more concise code?