Posts by Paulo Roggrio de Abreu Azevedo • 21 points
1 post
-
1
votes2
answers5642
viewsA: How to access variables present in different functions?
Suggestion is to use global variable definition: def Luggage(): global mala mala = [] take = "O que voce deseja levar na sua viagem?" mala.append(take) take = "----teste------" mala.append(take)…