def extract_variables(url):
raw_variables = url.split('?')[-1]
variables_with_value_list = raw_variables.split('&')
variables_list = tuple(map(lambda x: x.split('=')[0], variables_with_value_list))
values_list = tuple(map(lambda x: x.split('=')[1], variables_with_value_list))
print('Variaveis --> ', variables_list)
print('Valores --> ', values_list)
if __name__ == '__main__':
extract_variables('https://bytebank.com/cambio?moedaOrigem=real&moedaDestino=dolar&quantidade=100')