News

The “print” command, as in BASIC, is what you will use in Python to display text on the screen. This is what we use to write “Hello World!” which is the first thing a programmer will ...
The other is to store values to match as keys in a dictionary, then use the values to take an action—e.g., store a function as a value and use the key or some other variable as input.
For example, type:text = raw_input("Enter a Letter: ").lower() print text; Press Enter. Python prompts the user to "Enter a Letter:" and translates the letter to lower case.Continuing the example ...