title: How do I condense all these "if" statements?
body: <p>I'm quite new to python and programming in general and I made this program that lets you add days to today's current date and it would output what that date would be. Not very useful, but I got quite annoyed at how much space it was taking and was wondering if it could be made smaller and more condensed, since it's quite simple. I dont actually have a clue. So if someone could show me that would be nice.</p>
  <pre class="lang-py prettyprint-override"><code>import datetime
  calendar = {1:&quot;Sunday&quot;, 2:&quot;Monday&quot;, 3:&quot;Tuesday&quot;, 4:&quot;Wednesday&quot;, 5:&quot;Thursday&quot;, 6:&quot;Friday&quot;, 0:&quot;Saturday&quot;}
  Day = eval(input(&quot;Enter how many days you want to look into the future: &quot;))
  todayDate = datetime.date.today()
  x = todayDate.strftime(&quot;%A&quot;)
  if x == &quot;Sunday&quot; :
      y = ((1+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Monday&quot; :
      y = ((2+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Tuesday&quot; :
      y = ((3+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Wednesday&quot; :
      y = ((4+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Thursday&quot; :
      y = ((5+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Friday&quot; :
      y = ((6+ Day) % 7)
      print(calendar[y]) 
      exit()
  if x == &quot;Saturday&quot; :
      y = ((7+ Day) % 7)
      print(calendar[y]) 
      exit()
  
  </code></pre>