title: print statement returning without space in python
body: <p>This is my code:</p>
  <pre><code>class Student(Person):
      
      def __init__(self, firstName, lastName, idNumber,scores):
          self.firstName = firstName
          self.lastName = lastName
          self.idNumber = idNumber
          self.testscores = scores
  
      def calculate(self):
          average = sum(self.testscores) / len(self.testscores)
          if average&gt;=90 and average&lt;=100 :
              return'O'
          elif average&gt;=80 and average&lt;90 :
              return'E'
          elif average&gt;=70 and average&lt;80 :
              return'A'
          elif average&gt;=55 and average&lt;70 :
              return'P'
          elif average&gt;=40 and average&lt;55 :
              return'D'
          else:
              return'T'
  </code></pre>
  <p>The statement : <code>print(&quot;Grade: &quot;, s.calculate())</code> returns <code>Grade:  O</code> (two spaces) instead of <code>Grade: O</code> (single space).</p>
  <p>Since the above print statement is in locked stub code I can't modify it.</p>
  <p>Is there anyway I can remove the extra space while returning from calculate function?</p>
  <p><strong>Edit</strong>: For better understanding of the problem consider this
  <a href="https://i.stack.imgur.com/nS7FE.png" rel="nofollow noreferrer">image</a>
  in which the only difference is in my output's and expected output's third statement because of additional space.</p>