Dictionary Colors :
Sorry to bother you, I'm new to python programming. .I spent all day trying to do this:
colors={0:"Fore.BLACK",1:"Fore.RED"}
print( colors[1] ,"Hello there!") or print(f ' { colors[1] } ',"Hello there!")
I've tried it every which way I can think of. Could you tell me how to do it. : ? )
Sorry to bother you, I'm new to python programming. .I spent all day trying to do this:
colors={0:"Fore.BLACK",1:"Fore.RED"}
print( colors[1] ,"Hello there!") or print(f ' { colors[1] } ',"Hello there!")
I've tried it every which way I can think of. Could you tell me how to do it. : ? )