# Pastebin tpLhrU9N for prefix_num in folders: x += 1 prefix_num = folders[x][:3] print(prefix_num)