num=float(input("Please enter number (integer or floating point): "))
print("Your integer number ",int(num)," in hex = ",hex(int(num)))
print("Your integer number ",int(num)," in oct = ",oct(int(num)))
print("Your float number ",num," in hex = ",float.hex(num))
#для float немає вісімкового представлення