Basic Syntax of printing "Hello World"


The basic syntax of printing "Hello World "in python use print() function.

Example

print("Hello World")

Output

Hello World

Printing of number

The basic syntax of printing any number in python use print() function.

Example

print(6)

Output

6

Strings

A string in python written within (" ") or (' ')
The terminating null character has the value zero.

Example

x="Small Code"