Working with numbers stored as strings is a common task in Python programming. Whether you’re parsing user input, reading data ...
print(int(5.5)) #to convert to int : output should be 5 print(float(5)) #to convert to float : output should be 5.0 ...