Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of higher quality, more maintainable code.
There are a lot of programming languages out there. What's so great about Python? Let me tell you.
- Python Is Easy to Use
- Python Is Powerful
- Python Is Object-Oriented
- Python Is a "Glue" Language
- Python Runs Everywhere
- Python Has a Strong Community
- Python Is Free and Open Source
print "Game Over"
raw_input("\n\nPress the enter key to exit.")
The interpreter responds by displaying
Game Over
Try By Yourself:
- Create a syntax error of your very own by entering your favorite ice cream flavor in interactive mode. Then, make up for your misdeed and enter a statement that prints the name of your favorite ice cream.
- Write and save a program that prints out your name and waits for the user to press the Enter key before the program ends. Then, run the program by double-clicking its icon.
- Write a program that prints your favorite quote. It should give credit to the person who said it, on the next line (hint: use two different print statements).
0 comments:
Post a Comment