↻
⏵︎ Run
a = '3.14AB' print('Before Conversion') print(a, 'is of type:', type(a)) a = float(a) print('After Conversion') print(a, 'is of type:', type(a))
Output