Programming Pandit

c/c++/c#/Javav/Python


Latest Update

Sunday, August 30, 2020

Python program to print string by G Krishna Chauhan

A string is a sequence of characters.
In Python, strings are enclosed inside single quotes, double quotes 
or triple quotes.
A simple program that displays “Programming Pandit!”. It's often used to illustrate the syntax of the language.


Source Code



# This program prints Programming Pandit! 

print('Programming Pandit') 








Output

Programming Pandit


In this program, we have used the built-in print() function to print the string Programming Pandit, on our screen.


2 comments:

  1. Thnku sir...for this.
    A single thing cam help us a lot

    ReplyDelete
    Replies
    1. Welcome, We are going for more programs as possilbe stay in touch.

      Delete