how to change the name of a variable in a loop python
for i in range(3):
locals()["group"+str(i)] = self.getGroup(selected, header+i)
how to change the name of a variable in a loop python
for i in range(3):
locals()["group"+str(i)] = self.getGroup(selected, header+i)
how to change the name of a variable in a loop python
for i in group(3):
setattr(self, "group"+str(i), self.getGroup(selected, header+i)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us