I want to see if there is a better way. I am kinda new to python. It is a way for me to try and use classes. Any help or suggestions would be nice.
class Employee:
def __init__(self, first, last, pay):
self.first = first
self.last = last
self.pay = pay
self.email = first + '.' + last + '@company.com'
for Number in range(30):
globals()[f"E{Number}"] = Employee('First', 'Last', 0)
print(E5.__dict__)