title: Jupyter Notebook - ValueError: invalid literal for int() with base 10: ''
body: <p>I am trying to make a program where a the program asks the user for a number and keeps asking until a blank line is entered. Then, it should print out how many even numbers there are. Now the only problem is that every I enter a blank  line it gives me this error: <code>ValueError: invalid literal for int() with base 10: ''</code>. Can you give the solution?</p>
  
  <pre><code>number = int(input('Enter your number: '))
  count = 0
  even = []
  
  while number:
  
      even.append(number)
      if number %2 == 0:
          number = int(input('Enter your number: '))  
      else:
          number = int(input('Enter your number: '))
  
  number = int(input('Enter your number: '))
  for nums in evens:
     count+=1
     print(f'Your even numbers are: {nums} ')
  </code></pre>