in r2.py
change:
In addition, you should use meaningful names, not single letters.
change:
a = test + 100to:
a = r1.test + 100It's better to do this without use of globals.
In addition, you should use meaningful names, not single letters.