ramiwahdan Posted June 7, 2020 Share Posted June 7, 2020 Hi, I am trying to fill the boxes of flag shape with colors. Is it possible in python terminal? here is the code: print(" _____________________________________________________") print(" | | |") print(" | | |") print(" | | |") print(" | |_________________________________________|") print(" | | |") print(" | | |") print(" | | |") print(" | |_________________________________________|") print(" | | |") print(" | | |") print(" | | |") print(" |_________|_________________________________________|") the left is red, top green, middle is same (white) and bottom is black. Quote Link to comment https://forums.phpfreaks.com/topic/310902-colors-in-python-without-library/ Share on other sites More sharing options...
requinix Posted June 7, 2020 Share Posted June 7, 2020 Depending on your terminal, yes. Quote Link to comment https://forums.phpfreaks.com/topic/310902-colors-in-python-without-library/#findComment-1578705 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.