title: Trying to convert each x'th character to Uppercase
body: <p>So basically my homework consists of making a program that asks for a string and an integer 'x'.'x' is basically the step in this program. First it converts the whole string to lowercase and then each 'x'th' character of the string must be converted to uppercase. So if i input "Hello World" and my integer is 1. Output would be "hElLo wOrLd". Im new to python by the way. </p>
  
  <p>This is what ive got right now and im basically stuck in a loop of trying a 100 things: </p>
  
  <pre><code>s = input('Input a string: ')
  g = input('Input an integer: ')
  s = s.lower()       #converts the whole string ofc
  s = list(s)
  range1 = s[::g]
  range1 = range1.upper()
  print(s)
  </code></pre>