What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-24 11:48:02
fibonacci series python program
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Python 2021-09-24 08:01:02
Read a number Print Fibonacci sequence up to the given number Python
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Shell/Bash 2021-09-24 03:34:03
run flake8
#Install flake8 python -m pip install flake8 #Run flake8 lint check against file flake8 path/to/code/to/check.py #Run flake8 lint check for specific errors or warnings by their reference code flake8 --select E123,W503 path/to/code/to/check.py #Run flak... Add solution -
Other 2021-09-23 00:04:02
dictionary removing specific key
>>> # Python 3.6, and beyond >>> incomes = {'apple': 5600.00, 'orange': 3500.00, 'banana': 5000.00} >>> sorted_income = {k: incomes[k] for k in sorted(incomes)} >>> sorted_income {'apple': 5600.0, 'banana': 5000.0, 'ora... Add solution
Best helpers
Ranking is empty