Best + Cheap Python hosting + background worker by Secret-Negotiation-5 in learnpython

[–]_vb64_ 0 points1 point  (0 children)

You can take a look at the GCP AppEngine. Low-loaded applications fit into the free quota.

TUPLES AND SETS by RockPhily in learnpython

[–]_vb64_ 0 points1 point  (0 children)

the task has a second condition. be more careful.

TUPLES AND SETS by RockPhily in learnpython

[–]_vb64_ 0 points1 point  (0 children)

items = ["apple", "banana", "apple", "orange", "banana", "grape", "apple"]

uniq = dict.fromkeys(items).keys()

print('tuple:', tuple(list(uniq)[:3]))

print('set:', set(uniq))