What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-11 03:25:32
dictionary in python
# Dictionaries in Python are used to store set of data like Key: Value pair # the syntax of a dictionary in Python is very simple we use {} inside that # we define {Key: Value}, to separate multiple values we use',' programming_dictionary = { "... Add solution -
Python 2022-01-31 15:05:02
always running python script
# in python, you should make a while(True) over the script flag = True while(flag): # Your awesome script goes here print("I'm running forever") # flag is there to have an exit option if needed flag = flase if statement == True else T... Add solution -
TypeScript 2022-01-31 00:36:28
difference between dictionary and sets in python
# Set: A Set is an unordered collection data type that is iterable, mutable and has no duplicate elements. ... Dictionary: in Python is an unordered collection of data values, used to store data values like a map, which unlike other Data Types that hold o... Add solution -
-
Python 2022-01-29 08:20:23
get length from variable python
len(var) len() is a built-in function in python. You can use the len() to get the length of the given string, array, list, tuple, dictionary, etc. Value: the given value you want the length of. Return value a return an integer value i.e. the length of the... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5