What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-02 13:42:13
playfair cipher program in python
key=input("Enter key") key=key.replace(" ", "") key=key.upper() def matrix(x,y,initial): return [[initial for i in range(x)] for j in range(y)] result=list() for c in key: #storing key if c not in result: ... Add solution -
Python 2021-10-31 01:35:10
capitalize python
# Python string capitalization string = "this isn't a #Standard Sntence." string.capitalize() # "This isn't a #standard sentence." string.upper() # "THIS ISN'T A #STANDARD SENTENCE." string.lower() # "this isn't a #stand... Add solution -
Python 2021-10-24 03:38:13
python longest consecutive sequence
def longest(seq = input("""Please enter a series of random letters, i will guess the largest sequence of letters in order""").upper()): max_count = 0 max_char = "" prev_char = "" ... Add solution -
Other 2021-10-21 20:19:13
Onject ssd detection code
import cv2thres = 0.45 # Threshold to detect objectcap = cv2.VideoCapture(1)cap.set(3,1280)cap.set(4,720)cap.set(10,70)classNames= []classFile = 'coco.names'with open(classFile,'rt') as f: classNames = f.read().rstrip('\n').split('\n')configPath = 'ssd... Add solution -
Python 2021-10-18 22:25:06
how to order a pizza using python
from pizzapy import Customer, StoreLocator, Order customer = Customer("Navnath", "Gaikwad", "[email protected]", "5093620471", "150720, E, 4th, Avenue, f101, Homestead, Apt, Spokane, 390037, Washigton, DC&quo... Add solution
Best helpers
Ranking is empty