title: I have to call one function and get my output
body: <p>I am having one function:</p>
  
  <pre><code>def divisible(num):
      if num%9 == 0:
          print("true")
      else:
          print("false")
  </code></pre>
  
  <p>By using this function I have to get the output of divisible by 9 numbers between 1 and 100. How can I get that? I am very new to python, can any one help me to solve this problem.</p>
  
  <p>as of now I am trying to call like this:</p>
  
  <pre><code>for i in range(10):
          j = divisible(i)
          if j == 'true':
              print(i)
  </code></pre>
  
  <p>But it is not giving me the exact output. I have to get like<code>(9,18,36,45 etc)</code></p>