Alexandre B A Villares 🐍 on Nostr: Today I quickly debugged a hacky automation script I have using a great tip from ...
Today I quickly debugged a hacky automation script I have using a great tip from npub1drca934dtkp9syzmkl8am0zn69znh62plkkgeufnstyx2vmm50aq0e00u7 (npub1drc…00u7), using = on f-strings 😹
print(f'{len(divs)=} {len(cat_puzzle_lists)=} {col_len=}')
output:
len(divs)=3 len(cat_puzzle_lists)=4 col_len=1.3333333333333333
#python #fstrings #debug
print(f'{len(divs)=} {len(cat_puzzle_lists)=} {col_len=}')
output:
len(divs)=3 len(cat_puzzle_lists)=4 col_len=1.3333333333333333
#python #fstrings #debug