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 -
Python 2021-09-23 22:53:05
hand cricket game in python
import random lst1= [1,2,3,4,5,6,7,8,9,10] chances_1= 20 no_of_chances_1= 0 your_runs= 0 print ("-----------------------------------------------\nYour Batting\n") while no_of_chances_1 < chances_1: runs= int(input("Enter Run... Add solution -
Python 2021-09-22 19:58:03
prime number and fibonacci series in python
import math num = int(input()) def isPrime(num): if num == 2 or num == 3 or num == 5 or num == 7: prime = True elif num % 2 == 0 or num % 3 == 0 or num % 5 == 0 or num % 7 == 0: prime = False elif math.ceil(math.sqrt(num)) -... Add solution -
Python 2021-09-21 20:13:02
while loop for sum of fibonacci series 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-09-21 10:37:02
random number guessing game python
import random print("Welcome to random number gusser game") print("I will guss number from 1 to 100 ") Difficulty = str(input("What is your difficulty Easy or hard:- ")).lower() def difficiulty(Difficulty): random_number ... Add solution
Best helpers
Ranking is empty