<jupyter_start><jupyter_text>Range<jupyter_code>for num in range(10):
    print(num)
for num in range(0, 10, 2):
    print(num)<jupyter_output>0
2
4
6
8<jupyter_text>enumerate<jupyter_code>for letter in enumerate('ABC'):
    print(letter)<jupyter_output>(0, 'A')
(1, 'B')
(2, 'C')<jupyter_text>zip<jupyter_code>mylist1 = [1, 2, 3]
mylist2 = ['a', 'b', 'c']
zip(mylist1, mylist2)
for item in zip(mylist1, mylist2):
    print(item)
'x' in [1, 2, 3]
'x' in [1, 'x']
'a' in 'a world'
'k1' in {'k1': 1}
345 in {'k1': 345}.values()
arr = [1, 2, 3]
min(arr)
max(arr)
from random import shuffle
mylist = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Not returning anything [Inplace function]
shuffle(mylist)
mylist
from random import randint
randint(0, 100)
result = input('Entre a number')
type(result)
float(result)
type(result)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18192627824019025, 'fraction_numerical': 0.06539833531510107, 'mean_word_length': 5.682539682539683, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '407938', 'license': 'Apache-2.0', 'n_tokens_mistral': 412, 'n_tokens_neox': 384, 'n_words': 102, 'path': '03-Python-Statements/37-Useful-Operators.ipynb', 'repo_name': 'porcelainruler/Python-Complete-Bootcamp-Practice', 'size': '841'}