What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-17 01:25:17
tensorflow lite raspberry pi object detection using usb webcam
import time import re import numpy as np from tflite_runtime.interpreter import Interpreter import cv2 CAMERA_WIDTH = 640 CAMERA_HEIGHT = 480 def load_labels(path): """Loads the labels file. Supports files with or without index number... Add solution -
TypeScript 2022-01-22 03:31:25
how to separate a string into 2 lists of numbers and letters python
stringtosplit = 'hello75world' letters = [] numbers = [] for k in stringtosplit: if k.isalpha() == True: letters.append(k) elif k.isdigit() == True: numbers.append(k) letters = ''.join(letters) numbers = ''.join(numbers) print(numb... Add solution -
Other 2021-10-28 12:50:05
data processsing
def filter(string): stopwords = ['their', 'during', 'doesn', "she's", 'ourselves', 'weren', 'll', 'has', 'had', 'we', 'not', 'if', 'will', 'such', 'needn', 'own', "isn't", "you'll", 'or', 'o', 'hadn', 'but', 'his', 'my'... Add solution -
Python 2021-10-22 20:34:09
string validators hackerrank solution
if __name__ == '__main__': s = input() print(any(i.isalnum() for i in s)) print(any(i.isalpha() for i in s)) print(any(i.isdigit() for i in s)) print(any(i.islower() for i in s)) print(any(i.isupper() for i in s)) #The any() funct... Add solution -
Python 2021-10-07 02:46:04
data processsing python
def filter(string): stopwords = ['their', 'during', 'doesn', "she's", 'ourselves', 'weren', 'll', 'has', 'had', 'we', 'not', 'if', 'will', 'such', 'needn', 'own', "isn't", "you'll", 'or', 'o', 'hadn', 'but', 'his', 'my'... Add solution