In this exercise, we will provide some text to the raw_input() function as a parameter. This text will be used as the prompt. This is much easier than the previous exercise, where we first printed something (as a prompt) and then asked for input using the raw_input() function.
Extra Credits:
We can read the documentation of any function using the pydoc command. To quit the documentation, press 'q' on the command prompt.
No comments:
Post a Comment