

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Printing to the Screen in Python
The simplest way to produce output is using the print statement where you can pass zero or more expressions separated by commas. This function converts the expressions you pass into a string and writes the result to standard output as follows −
Example
#!/usr/bin/python print "Python is really a great language,", "isn't it?"
Output
This produces the following result on your standard screen −
Python is really a great language, isn't it?
- Related Questions & Answers
- Multi-Line printing in Python
- How to avoid printing newline in Python?
- How to print to the Screen using Python?
- How to clear screen in python?
- Programs for printing pyramid patterns in Python
- Avoiding quotes while printing strings in Python
- How to increase the printing limit in R?
- How to clear screen using python?
- Printing Pyramid in C++
- Why do backslashes appear twice while printing in Python?
- Printing Heart Pattern in C
- Printing Interesting pattern in C++
- Printing Triangle Pattern in Java
- How to get the screen size in Tkinter?
- Is a book printing press different from a magazine printing press?
Advertisements