What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-03 06:34:13
50 terms of fibonacci sequence 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 -
Python 2021-11-03 04:39:17
Write a Python program to get the Fibonacci series between 0 to 50. Note : The Fibonacci Sequence is the series of numbers
#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-11-02 01:29:10
guido van rossum net worth
As of 2020, The exact net worth of Guido Van Rossum is not available but it has been more than $10 million. He has earned most of his earnings as a programmer and produces a Python program as a great success of his life. He also earned while working wi... Add solution -
Python 2021-10-28 04:31:06
reverse video opencv python
# Python program to play a video # in reverse mode using opencv import cv2 cap = cv2.VideoCapture("video_file_location") check , vid = cap.read() counter = 0 check = True frame_list = [] while(check == True): check , vid = cap.rea... Add solution -
Python 2021-10-27 21:51:13
how to find palingrams python
""" Program: Python program to find anagrams in a list of strings """ from collections import Counter def get_anagrams(input_string_list, test_string): print("*******************") print("input_str... Add solution -
Other 2021-10-27 04:30:11
split one file into multiple files
##Write a Python program to create a file of numbers by taking input from the user. Split this file into two files where one file contains odd numbers and the other file contains even numbers from the file. You can take input of non-zero numbers, with an ... Add solution -
Python 2021-10-26 13:01:16
addition of array in python with input
#Python program to add all the array elements using the built-in function lst = [] num = int(input("Enter the size of the array: ")) print("Enter array elements: ") for n in range(num): numbers = int(input()) lst.append(numbers) pr... Add solution -
Python 2021-10-26 07:46:14
odd or even in python
# Python program to check if the input number is odd or even. # A number is even if division by 2 gives a remainder of 0. # If the remainder is 1, it is an odd number. num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} i... Add solution