Using "Print" assertion in Python (Basic Guide).
Python Print Function. This is a simple manual using a print declaration, although the print announcement in python appears quite simple. However many humans are nevertheless confused approximately the usage of this statement. Especially for a novice python person. The print statement is a primary command in python programming. The print announcement will print any statistics type, however most usually a string statistics kind. But any facts kind is viable to print. Now, follow this manual under to use "print" assertion in python.
Make certain python established efficiently in your computer, you could without delay python from the hyperlink below.
//www.Python.Org/downloads/release/python-2712/Writing Python Programming.
- Open the text editor, for this example, we are able to use notepad from home windows.
- Now type this simple program list beneath.
- Explanation ;
- The String information to be displayed should be enclosed in double costs (".....")
- Numeric information sorts may be immediately written without the quotes
- \t used for Tab
- \n used for a new line
print "hiya world"print "try to use script mode"print "Namett: Andy LawnAddresstt: 15604 Alexander Rd"print 2016- Filename: whats up.Py
- Save as kind: All files

0 comments:
Post a Comment