while loop in Python3
<p>This is what I have to do:</p>

<blockquote>
  <p>Create a while-loop that adds 6 to the number 27, 73 times. Answer
  with the result. </p>
  
  <p>Write your code below and put the answer into the variable ANSWER.</p>
</blockquote>

<p>And this is what I have done, </p>

<pre><code>n = 6
while n &lt; 73:
27 + n
n + = 1

ANSWER = n
</code></pre>

<p>While you literally nearly do what was requested (adding 6 to the 27 a number of times), this is not what was wanted.</p>

<p>What they want you to do is</p>

<blockquote>
  <p>Initialize a variable with 27 and add 6 to it, 73 times.</p>
</blockquote>

<p>So just do</p>

<pre><code>value = 27
i = 0
while i &lt; 73:
    value += 6
    i += 1
ANSWER = value
</code></pre>

python loops while-loop