day 2# - Our First python program!

 # Print- 

'print is function and to invoke any function we use parenthesis( ) like this 

Python print() function prints the message to the screen or any other standard output device. In this article, we will cover about print() function in Python as well as it’s various operations.



# String- 

   A String is a data structure in Python that represents a sequence of characters. 


  •    Program 1. 

       print("hello world")

       print(6)

       print("Bye")

       print(15*10)

After Execution-

      hell0 world

     6

     bye

     150

  • Program 2.

print("Hello""how are you?")

hello how are you?

 

ALL THE BEST TO ALL FUTURE PROGRAMMER.

Thank you



Comments

Post a Comment

Popular posts from this blog

day #6 - Exercise 1: make two Calculator using in python

day #5 - Operators in python