Social Sciences, asked by ritiksingh4544, 1 year ago

Write a python program to print the welcome message

Answers

Answered by Anonymous
7
print("welcome")

hope this helped u
Answered by Anonymous
19

\mathbb{\underline{CODE}}

>>>print('Welcome to the world of Python')

( Using an editor )

print ('Welcome to the world of Python')

OUTPUT :

Welcome to the world of Python

EXPLANATION :

⏩ The printing is done by the function print() .

⏩ For printing in a new line , a line terminator is used .

⏩ In Python , \n is used for terminating the line .

⏩ The three >>> signs generally command the console to execute each line of the code .

⏩ IDLE is the IDE of Python , IDE refers to the Integrated Development Environment .

⏩ In an IDE , we do not need to type in the signs because these signs are only meant for the console .

⏩ The console is an essential part of Python coding for the beginners and hence I have written in this format .

⏩ An IDE is however simple and easy to use .

⏩ The input command for taking inputs is raw_input("Enter")

⏩ The for loop command is for x in range(0, n) where n is the limit of the for loop and within this loop there can be statements .

Similar questions