title: EOFError: EOF when reading a line How can I fix this coe?
body: <pre class="lang-py prettyprint-override"><code>def get_days_in_birthday_month():
      date = input(&quot;Enter your Birthday (dd/mm/yyyy):&quot;)
      x = date.split(&quot;/&quot;)
      month = x[1];
      if(month==&quot;1&quot; or month==&quot;3&quot; or month==&quot;5&quot; or month==&quot;7&quot; or month==&quot;8&quot; or month==&quot;10&quot; or month==&quot;12&quot; ):
          return &quot;31&quot;;
      elif (month==&quot;4&quot; or month==&quot;6&quot;  or month==&quot;9&quot; or month==&quot;11&quot;):
          return &quot;30&quot;;
      else:
          return &quot;29&quot;;
  
      
  days = get_days_in_birthday_month()
  print(&quot;The number of days is:&quot; + days)
  
  </code></pre>
  <pre class="lang-none prettyprint-override"><code>    ***Error***
      Traceback (most recent call last):
        File &quot;__tester__.python3&quot;, line 23, in &lt;module&gt;
          print(&quot;The number of days is: &quot; + get_days_in_birthday_month())
        File &quot;__tester__.python3&quot;, line 8, in get_days_in_birthday_month
          date = input(&quot;Enter your Birthday (dd/mm/yyyy):&quot;)
        File &quot;__tester__.python3&quot;, line 3, in input
          s = __saved_input__(prompt)
      EOFError: EOF when reading a line
  </code></pre>
  <p>I got eof error for this code and I don't know how to fix it .
  How can I fix this eof error to get this code right?</p>