input: Write a function in Python to print the Fibonacci series.
  
  ### Input:
  n = 5
  
  ### Output:
  def printFibonacciSeries(n): 
    
      # Taking 1st two fibonacci nubers as 0 and 1 
      f1 = 0
      f2 = 1
      print(f1, f2, end = " ") 
    
      for i in range(2, n): 
          next = f1 + f2 
          print(next, end = " ") 
    
          # update values 
          f1 = f2 
          f2 = next
  
  assert printFibonacciSeries(5)==0 1 1 2 3
output: def printFibonacciSeries(n): 
      f1 = 0
      f2 = 1
      print(f1, f2, end = " ") 
    
      for i in range(2, n): 
          next = f1 + f2 
          print(next, end = " ") 
    
          f1 = f2 
          f2 = next