This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import random | |
# print("You'll have 433 formation") | |
# ST = ["C.Ronaldo","Benzema","E.Haaland","K.Mbbape","Ronaldo","R.VanPerSie", | |
# "W.Rooney","C.Tevez","R.Lewondoski","L.Suarez","O.Giroud","S.Aguro"] | |
# LW = ["Rashford","NeymarJr","VinicusJr","SonHeungMin","JackGrealish","S.Mane", | |
# "L.Sane","K.Coman","K.Kvaratskhelia","E.Hazard","F.Ribery","P.Foden"] | |
# RW = ["Antony","L.Messi","M.Salah","A.Robbens","R.Mahrez","A.DiMaria", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Use | |
<span | |
class="mention wrapper-1ZcZW- interactive" | |
aria-expanded="false" | |
role="button" | |
> | |
@ExampleUsername | |
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_list = ['lump', 'eat', 'em', 'tea', 'me', 'plum'] | |
for ele in test_list: | |
num = 0 | |
for ele2 in test_list: | |
if sorted(ele) == sorted(ele2): | |
num += 1 | |
print(ele, "has", num, "anagrams") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import os and shit | |
import os | |
# function to make total readable | |
def readable_size(size): | |
for x in ['bytes', 'KB', 'MB', 'GB', 'TB']: | |
if size < 1024.0: | |
return "%3.1f %s" % (size, x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--thickness: 2px; | |
--radius: 0px; | |
--speed: 10s; | |
--color-1: red; | |
--color-2: orange; | |
--color-3: yellow; | |
--color-4: green; | |
--color-5: blue; |