[Solved] Basic Python variable function not working? [closed]
[ad_1] You are using the variable before it declaration. Carry your variable declaration at the top of the first print function For Example boy_name = “Bobby” print(“there was a boy named ” + boy_name + ” “) print(“there is a boy named timmy”) [ad_2] solved Basic Python variable function not working? [closed]