Skip to content

Instantly share code, notes, and snippets.

@dfghjkjhgr
dfghjkjhgr / test.py
Last active June 17, 2022 17:07
Python 3.8 Test File
"""An attempt to use as many 3.8 features as possible"""
def cool_function(a, b, /):
"""A simple function that does nothing but use a whole bunch of 3.8 features"""
cool_dict = {}
for i in range(3):
cool_dict[i] = f'cool function!1!! Also, {i + (a * b) =}!'
return (reversed(cool_dict), cool_dict)
def main():