What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-13 03:20:09
f# syntax
// single line comments use a double slash (* multi line comments use (* . . . *) pair -end of multi line comment- *) // ======== "Variables" (but not really) ========== // The "let" keyword defines an (immutable) value let myInt = 5... Add solution -
C# 2022-01-22 22:55:52
c# sequenceequal
/* ***C# SequenceEqual*** Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. */ class Pet { public string Name { get; set; } public int Age { get; set; } } public static vo... Add solution -
Python 2021-10-24 02:51:06
do intersection between list python
# Python program to illustrate the intersection # of two lists in most simple way def intersection(lst1, lst2): lst3 = [value for value in lst1 if value in lst2] return lst3 # Driver Code lst1 =... Add solution -
Python 2021-09-16 06:10:03
c to python code converter
import sys def mergesort_2ndstep(l, r): len_l = len(l) len_r = len(r) # initializing a list of length zero sorted_array = [] i,j = 0,0 while i < len_l: num1 = l[i] for x in range(j,len_r): num2 = r[x] if num2 < num1 : sorted_arr... Add solution