Untitled

 avatar
unknown
plain_text
10 months ago
314 B
11
Indexable
# Task 1
# Create dict with even numbers from 0 to 50 casted to string as keys and squares as values.
# If key can be divided by 6 without rest, skip this element.

# Sample:
#  d = {
#      '0': 0,
#      '2': 4,
#      '4': 16,
#      '8': 64,
#      ....
#  }

def get_dict():
    return ...

print(get_dict())
Editor is loading...
Leave a Comment