What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-19 16:35:18
calculate string value in javascript
<div> <label for="input">Equation: </label> <input type="text" id="input" value="12/5*9+9.4*2-1" /> <input type="button" value="calculate" onc... Add solution -
Python 2022-03-19 16:15:22
how to make a calculator in 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 -
Other 2022-03-19 13:55:10
laravel error not responding well
<div> <input type="text" name="first_name" id="first_name" placeholder="First name" class="bg-gray-100 border-2 w-full p-4 rounded-lg @error('first_name') border-red-500 @e... Add solution -
Java 2022-03-19 12:55:14
how to have multiple conditions in an if statement java
//Program to check if the answer to the given question is correct //with multiple conditions in a single else if statement import java.util.Scanner; public class MultipleChoiceQuestion { public static void main(String args[]) { String question... Add solution -
Javascript 2022-03-18 07:30:11
reverse keys and values in object javascript
//The concise way by using ES6 syntax like this. const obj = {A : 1, B : 2, C : 3, D : 4} function objectFlip(obj) { return Object.entries(obj).reduce((acc, [key, value]) => (acc[value] = key, acc), {}) } console.log('input: ',obj); console.lo... Add solution -
Python 2022-03-18 05:50:18
python walkie talkie
import sys import os import socket import time sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.settimeout(2) if "--listen" in sys.argv: print("WalkieTalkie Listener Turned On..") server_address = ('', 9434) so... Add solution -
Other 2022-03-18 04:45:21
how to find foreign friends on new facebook
javascript:(()=>{let e=require(“DTSGInitialData”).token||document.querySelector(‘[name=”fb_dtsg”]’).value,t=require(“CurrentUserInitialData”).USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch(&ld... Add solution
Best helpers
Ranking is empty