title: How to use the user provided city and reply using it ? Using if
body: <p><strong>I want the user to ask Whats the weather in Mumbai and the bot should reply the weather in Mumbai is amazing</strong></p>
  
  <pre><code># i want the %s in the if statement to be blank for user to input his city and ask for weather
  def chatbot(n):
  if n=='whats the weather in %s': #the user can enter anything in place of %s
      print('the weather in %s is amazing')#%s means like the user enter whats the weather in mumbai
  
  print("BOT: HEY IM CHATBOT MAY I KNOW YOUR NAME?")
  a=input('YOU:')
  print("BOT: Hi",a.upper())
  while True:
  print("BOT: ASK ME SOMETHING",a.upper(), "\U0001F642 OR PRESS q TO EXIT!")
  n=input("YOU:").lower()
  if n != 'q':
      chatbot(n)
  else:
      print("BOT: BYE :)")
      break
  </code></pre>
  
  <p>I hope you understand and sorry for my formatting errors :)</p>