title: fizz buzz game in python
body: <p>Write a simple function called fizzBuzz that takes in a positive integer, and returns ‘fizz’, ‘buzz’, ‘fizzbuzz’ or the argument it receives, based on the following:</p>
  
  <pre><code>Returns ‘fizz’ if the argument is divisible by 3
  Returns buzz if the argument is divisible by 5
  Returns ‘fizzBuzz’ if the argument is divisible by 3 and 5
  Returns the argument itself if it is NOT divisible by 3 or 5
  Returns exactly 'Invalid Argument' when an invalid argument is passed.
  </code></pre>
  
  <p>Examples:
  Input   Output<br>
  3   "fizz"<br>
  5   "buzz"<br>
  15  "fizzBuzz"</p>
  
  <p>i tried out this code but it didnt work</p>
  
  <pre><code>def fizz_buzz(n):
      n = []
      for nums in n:
          if nums % 5 == 0 and nums % 3 == 0:
              print("fizz buzz")
          elif nums % 3 == 0:
              print("fizz")
          elif nums % 5 == 0:
              print("buzz")
          elif nums % 3 != 0 and nums % 5 != 0:
              print(nums)
          else:
              print("invalid argument")
  </code></pre>