title: Step Counter Python Lab
body: <p>I'm trying to solve this programming problem in Python:</p>
  <p><strong>A pedometer treats walking 1 step as walking 2.5 feet. Define a function named feet_to_steps that takes a float as a parameter, representing the number of feet walked, and returns an integer that represents the number of steps walked.</strong></p>
  <p><strong>Then, write a main program that reads the number of feet walked as an input, calls function feet_to_steps() with the input as an argument, and outputs the number of steps.
  Use floating-point arithmetic to perform the conversion.</strong></p>
  <p><strong>Ex: If the input is: 150.5</strong></p>
  <p><strong>the output is: 60</strong></p>
  <p>This is my code so far:</p>
  <pre><code>def feet_to_steps(user_feet):
      steps_walked = user_feet / 2.5
      return steps_walked
      
      
  if __name__ == '__main__':
      
      input_feet = float(input())
      steps_walked = feet_to_steps(input_feet)
      print(int(steps_walked))
  </code></pre>
  <p>Two of my test cases passed where the input was 150.5 with an output of 60, and another with an input of 10000 with an output of 4000. The other two failed saying this:</p>
  <p><strong>feet_to_steps(11) incorrectly returned 4.4</strong></p>
  <p><strong>feet_to_steps(79.25) incorrectly returned 31.7</strong></p>
  <p>I know it's the second part of the prompt that is messing me up, but I can't figure out how to make the two different conditions work together with the same function. I also don't understand the if__name__=='<strong>main</strong>': part at all either. It was just included in the default template. Sorry for the long post, just wanted to be as descriptive as possible. Any help would be appreciated.</p>