When you write a code in IDLE python shell, you may observe 4 different colors, yes these colors have some meaning:
What are commands: Print/quit are commands in python. Command generally written with round parenthesis i.e. print(), quit()
- Purple: It shoe that you have typed a command in python shell
- Green: Some content sent to command
- Blue: Any output from command will be BLUE in color
- Black: not a command
What are commands: Print/quit are commands in python. Command generally written with round parenthesis i.e. print(), quit()
No comments:
Post a Comment