Please go through the below code and explain me how I am able to achieve the output for the code which I have shared:
class Customer:
pass
c1=Customer()
print(c1)
print(Customer())
print(Customer(),Customer())
print(c1,Customer())
print(Customer())
print(Customer())
Output:
<__main__.Customer object at 0x0172FA90>
<__main__.Customer object at 0x0172FAB0>
<__main__.Customer object at 0x0172FAB0> <__main__.Customer object at 0x0172FB10>
<__main__.Customer object at 0x0172FA90> <__main__.Customer object at 0x0172FAB0>
<__main__.Customer object at 0x0172FAB0>
<__main__.Customer object at 0x0172FAB0>