Multiple errors on openpyxl GUI program
for problem A: assign any value outside function i.e
f1,f2=0,0
and make them global inside function
def ask_for_filename(): global f1 #or global f2 whatever you want
and everytime you use these variable outside function they give you your desired result dont forget to make them global inside function if you want them to modify as global:
global f1 or f2