Python - Advanced Exception Handling
What will be the output of this code snippet?
try:
try:
float('xyz')
except ValueError as ve:
raise RuntimeError('Conversion error') from ve
except Exception as exc:
print(type(exc).__name__)
print(exc.__cause__)