standards = ['1', '2', '3']
sections = [['A', 'B', 'C'], ['A', 'B', 'C'], ['A', 'B', 'C']]
classes_maker_counter = 0
for i in standards:
for j in sections[classes_maker_counter]:
for k in j:
classes = f"alloted_{i}_{k}= {}"
todisplay = f"to_display_{i}_{k} = {}"
exec(classes)
exec(todisplay)
classes_maker_counter += 1
when i run this i get this error
f-string: empty expression not allowed
is there a way to do this...