from random import randint
def Fun_1():
print("Executada a Fun_1")
def Fun_2():
print("Executada a Fun_2")
def Fun_3():
print("Executada a Fun_3")
def Fun_4():
print("Executada a Fun_4")
functions = locals()
x = randint(1, 4)
nome_fun = "Fun_" + str(x)
print("x =", x)
functions[nome_fun]()
ZnJvbSByYW5kb20gaW1wb3J0IHJhbmRpbnQKCmRlZiBGdW5fMSgpOgogICAgcHJpbnQoIkV4ZWN1dGFkYSBhIEZ1bl8xIikKCmRlZiBGdW5fMigpOgogICAgcHJpbnQoIkV4ZWN1dGFkYSBhIEZ1bl8yIikKCmRlZiBGdW5fMygpOgogICAgcHJpbnQoIkV4ZWN1dGFkYSBhIEZ1bl8zIikKCmRlZiBGdW5fNCgpOgogICAgcHJpbnQoIkV4ZWN1dGFkYSBhIEZ1bl80IikKCmZ1bmN0aW9ucyA9IGxvY2FscygpCnggPSByYW5kaW50KDEsIDQpCm5vbWVfZnVuID0gIkZ1bl8iICsgc3RyKHgpCgpwcmludCgieCA9IiwgeCkKZnVuY3Rpb25zW25vbWVfZnVuXSgp