'''Question: 
 Write a Python program to parse a string to Float or Integer.
'''

# Python code: 

n = "246.2458"

print(float(n))

print(int(float(n)))



'''Output sample: 
246.2458                                                                                                      

246 

'''