What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-12 04:45:02
project euler problem 17 python
# the final list that holds the string lengths addList = [] # dictionary holding integer:corresponding word pairs numbersDict = { 0:"zero", 1:"one", 2:"two", 3:"three", 4:"four", 5:"five", 6:&... Add solution -
Javascript 2022-01-30 21:31:17
how to make a string in javascript
var abc = "abcdefghijklmnopqrstuvwxyz"; var esc = 'I don\'t \n know'; // \n new line var len = abc.length; // string length abc.indexOf("lmno"); // find substring, -1 if doesn't contain abc.lastIndexOf("lmn... Add solution -
Java 2021-10-08 16:07:08
string code
// Java code to illustrate different constructors and methods // String class. import java.io.*; import java.util.*; class Test { public static void main (String[] args) { String s= "GeeksforGeeks"; // or String s= new String ("Geeks... Add solution