Alcance, variables globales y palabra clave global

L = 10 #GLOBAL
def function1(n):
  L =5
  m = 8
  print(L,m)
  print(n, "I HAVE PRINTED")

#funiction1("THIS IS ME")
print(L, m)
Careful Constrictor