# initializing string
s = "10010" # binary 18

# printing string converting to int base 2
c = int(s, 2)
print("After converting to integer base 2 : ", end="this is end\n")
print(c)

# printing string converting to float
e = float(s)
print("After converting to float : ", end="")
print(e)

# output:
# After converting to integer base 2 : this is end
# 18
# After converting to float : 10010.0
#
# Process finished with exit code 0


