title: Is not using return value in Python bad practice/dangerous?
body: <p>I have a function that only sometimes returns values. Below a simplified example.</p>
  
  <pre><code>def return_something(bool):
      if bool:
          return "Something"
      else:
          print("Hello ")
  </code></pre>
  
  <p>I figured that I could also rewrite the function as such:</p>
  
  <pre><code>def return_something():
      print("Hello ")
      return "Something"
  </code></pre>
  
  <p>As I only sometimes need the return value and when I need it the rest of the function may execute normally. Now I would call the function in two ways:</p>
  
  <pre><code>return_something()
  string = return_something()
  </code></pre>
  
  <p>My question: When using the second design I don't use the returned value in the first function call. Is this considered bad practice and or dangerous?</p>