A
Q. What will the following code print?
```python
class A:
def __init__(self, x):
self.x = x
a = A(10)
print(a.x)
```
- Correct Answer - Option(B)
- Views: 33
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.