Run
#take a float a = 3.14 print('Input', a, type(a), sep='\n') #convert float to complex output = a + 0j print('\nOutput', output, type(output), sep='\n')
Output