4
modifications
(Tabulation plus visible, includes) |
(JvCare Python : tabulations plus lisibles) |
||
Ligne 175 : | Ligne 175 : | ||
def jvcare(classe: str) -> str: | def jvcare(classe: str) -> str: | ||
base16 = '0A12B34C56D78E9F' | |||
url = <nowiki>''</nowiki> | |||
s = classe.split()[1] | |||
for i, j in zip(s[0::2], s[1::2]): | |||
url += chr(base16.index(i) * 16 + base16.index(j)) | |||
return url | |||
==== C ==== | ==== C ==== |
modifications