-4
Hello, I’m a beginner, I need help. I defined the populations of the regions:
popula_Nordeste = 27.09 popula_Sul = 14.26 populaca_Sudeste = 42.04 population = 8.82 population = 7.79
And I used an input , regiao = input("Type the region:").
So when I write popula_regiao appears that it is not defined. For example if I typed "South" in the input, the popula_regiao would have to be 14.26 wouldn’t it? I will leave an image to facilitate.
"I’ll leave an image to facilitate" - in fact the image makes things difficult. Ideally always put the code as text, understand the reasons reading the FAQ.
– hkotsubo
You have not created a variable called popula_regiao.
– Mr. Satan