It is always 0.
Use (5.0/1024)
(5.0/1024)
or
amps = sensor_value * 29.3 // magic number means (5/1024) * (300/0.05)