The conversation between human and AI assistant.
How do I convert Python code into Ruby code?
Yes, I have this Python code for a simple calculator. Can you help me convert it to Ruby?

```
x = float(input("Enter first number: "))
y = float(input("Enter second number: "))
 
sum = x + y
difference = x - y
product = x * y
quotient = x / y
 
print("Sum: ", sum)
print("Difference: ", difference)
print("Product: ", product)
print("Quotient: ", quotient)
```
Sure, here is the Ruby equivalent of the Python code you just shared:

```
puts "Enter first number: "
x = gets.chomp.to_f

puts "Enter second number: "
y = gets.chomp.to_f

sum = x + y
difference = x - y
product = x * y
quotient = x / y

puts "Sum: #{sum}"
puts "Difference: #{difference}"
puts "Product: #{product}"
puts "Quotient: #{quotient}"
```