What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-14 18:25:48
input in python
name = input("What is your name?\n") # Asks the user 'What is your name?' and stores it in the 'name' variable print("You said your name was " + name) number = int(input("Please select a random number:\n")) # Will get input... Add solution -
Python 2021-11-14 13:45:11
function in the input function python
name = input("What is your name?\n") # Asks the user 'What is your name?' and stores it in the 'name' variable print("You said your name was " + name) number = int(input("Please select a random number:\n")) # Will get input... Add solution -
Javascript 2021-11-07 12:03:18
Javascript validate password
var check = function() { if (document.getElementById('password').value == document.getElementById('confirm_password').value) { document.getElementById('message').style.color = 'green'; document.getElementById('message').innerHTML = 'matching... Add solution -
Java 2021-11-04 07:47:10
role of scanner class in java
The Java Scanner class is widely used to parse text for strings and primitive types using a regular expression. It is the simplest way to get input in Java. By the help of Scanner in Java, we can get input from the user in primitive types such as int, ... Add solution -
C++ 2021-10-20 18:01:14
nodemcu web server slider
// Import required libraries #include <ESP8266WiFi.h> #include <ESPAsyncTCP.h> #include <ESPAsyncWebServer.h> // Replace with your network credentials const char* ssid = "REPLACE_WITH_YOUR_SSID"; const char* password = "R... Add solution -
Other 2021-10-19 13:20:04
input_int
# Python3 program to get input from user # accepting integer from the user # the return type of input() function is string , # so we need to convert the input to integer num1 = int(input("Enter num1: ")) num2 = int(input("Enter... Add solution -
Python 2021-10-12 21:59:04
taking String input from user in python
name = input("What is your name?\n") # Asks the user 'What is your name?' and stores it in the 'name' variable print("You said your name was " + name) number = int(input("Please select a random number:\n")) # Will get input... Add solution -
Javascript 2021-10-09 12:54:04
password validation in javascript
var check = function() { if (document.getElementById('password').value == document.getElementById('confirm_password').value) { document.getElementById('message').style.color = 'green'; document.getElementById('message').innerHTML = 'matching... Add solution -
Javascript 2021-09-28 13:12:04
jquery disable all input form
//In older versions you could use attr. //As of jQuery 1.6 you should use prop instead: $("#target :input").prop("disabled", true); //To disable all form elements inside 'target'. See :input: //Matches all input, textarea, select and... Add solution -
Other 2021-09-13 10:37:03
how to read parameter passed to arduine webserver
/********* Rui Santos Complete project details at https://RandomNerdTutorials.com/esp32-esp8266-input-data-html-form/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fil... Add solution