title: Classes, self, input variables in self and self default values
body: <p>I wrote variables in init's brackets, which should be default if I don’t enter anything, but I get an error if I don’t enter anything and python don’t see the default values ​​​​for the variables. I am using there input to understand the user what to enter and I would like to leave it.</p>
  <pre><code>class News:
      def __init__(self, content='Test NEWS name', city='None', news_date_and_time='Not defined'): 
          self.content = str(input('Write down news content:'))
          self.city = str(input('Write down news CITY:'))
          self.news_date_and_time = datetime.now().strftime(&quot;%d/%m/%Y %H:%M&quot;)
  pub = News()
  </code></pre>
  <p>I can achieve the input by passing it to the function, as I wrote below, but I want the function use an input and default values ​​which are written</p>
  <pre><code>class News:
      def __init__(self, content='Test NEWS name', city='None', news_date_and_time='Not defined'):  
          self.content = content
          self.city = city
          self.news_date_and_time = datetime.now().strftime(&quot;%d/%m/%Y %H:%M&quot;)
  
  pub = News('dog ate potatoes','New York')
  pub = News(str(input('Input the content:')), str(input('Input the city:')))
  </code></pre>
  <p>How can I implement in the function an input of the variables and the default values ​​are which are written in the function if the wasn't written anything?</p>