What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-09 11:15:04
how to count the number of guesses in python
from random import randint guesses = 0 randomNum = (randint(0,100)) numPlayer = 0 while (numPlayer!=randomNum): numPlayer = int(input("Guess the number(0-100)")) if (numPlayer>randomNum) : print "It's -" elif ... Add solution -
Python 2021-10-09 08:45:07
gauss jordan method python
# Importing NumPy Library import numpy as np import sys # Reading number of unknowns n = int(input('Enter number of unknowns: ')) # Making numpy array of n x n+1 size and initializing # to zero for storing augmented matrix a = np.zeros((n,n+1)) # Mak... Add solution -
Python 2021-10-07 07:46:01
python code to print fibonacci series
#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-10-07 05:55:03
fibonacci sequence script 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-10-07 04:40:04
numbers to words converter python program
# Number to Words # Main Logic ones = ('Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine') twos = ('Ten', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Sixteen', 'Seventeen', 'Eighteen', 'Nineteen') tens = ('Twent... Add solution -
Python 2021-10-07 03:33:05
python print n numbers
inp = int(input()) for i in range(inp): print(i) Add solution
Best helpers
Ranking is empty