What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-10 16:23:02
calculator python
#Store number variables for the two numbers num1 = input('Enter first number: ') num2 = input('Enter second number: ') #the sum of the two numbers variable sum = float(num1) + float(num2) sum2 = float(num1) - float(num2) sum3 = float(num1) * float(num2)... Add solution -
Python 2021-09-10 13:15:01
take screenshot of video python
import cv2 import os import time def get_frames(inputFile,outputFolder,step,count): ''' Input: inputFile - name of the input file with directoy outputFolder - name and path of the folder to save the results step - time lapse between each... Add solution -
Python 2021-09-10 07:28:01
finding all vowels in a string python
def find_all_vowels(Word: str): if Word == None or Word == "": raise Exception("The arguments 'Word' is None or empty") vowles_in_Word = [] Word = Word.upper() Vowles_list = ["A","E","I&... Add solution -
Javascript 2021-09-09 05:33:03
prop vs attr jquery
<input id="check1" type="checkbox" checked="checked"> <label for="check1">Check me</label> <p></p> $( "input" ).change(function() { var $input = $( this ); // alert($inp... Add solution -
Python 2021-09-07 22:00:02
how to detect color collision in pygame
WITHOUT ALPHA VALUE color = (0,0,0) while True: color = pygame.Surface.get_at((x,y))[:3] if color = (#certain value) #do something WITH ALPHA VALUE color = (0,0,0,0) while True: color = pygame.surface.get_at((x,y)) if col... Add solution