0
How to use background in Python
Like I’m doing a Eid thing in the community and then it says that this is wrong: bg.color (“Lime green”) pls help
14 odpowiedzi
+ 2
maybe
lime green
not
Lime green
+ 1
But I gave U the WHOLE CODE
0
this question is not full....
TkInter?
customTkInter?
turtle?
django?
....
we are ready to help. please, explain more what you need.
thanks
0
Ok heres the code
0
bg.color (“Lime green”)
print (“Eid Mubarak everyone!”)
print (“عيد موبرك”)
print (“May everyone have a happy Eid!”)
0
Ok
0
It says bg is not idenifies
0
Identified
0
Then the problem is probably in the previous parts of the code.
You have not given us all the info needed, so the best we can do is guess
0
now I'm confused.
where did bg.color come from?
0
Python taught me it
0
Sololearn
0
you're probably using it out of context.
if you are using Tkinter, you have to do a lot of initialization before being able to use bg. You just can't use it on it's own.
(you said the entire code is that 4 lines you provided. bg used this way does not make sense.)
Learn Python properly, don't guess or copy paste and hope it works. It's not s guessing game.
0
No its that im useing the sololearn community