A Python programme to generate fibonacci series as per the user input.