how to write a hello world program using python?
Answers
Answered by
1
Step 1) Open PyCharm Editor. ... Step 2) You will need to select a location.Step 3) Now Go up to the “File” menu and select “New”. ... Step 4) A new pop up will appear. ... Step 5) Now type a simple program - print ('Hello World!').Step 6) Now Go up to the “Run” menu and select “Run” to run your program step 7) You can see the output of your program at the bottom of the screen.Step 8) Don't worry if you don't have Pycharm Editor installed, you can still run the code from the command prompt. Enter the correct path of a file in command prompt to run the program.
luson:
you can also use notepad or notepad ++
Answered by
0
Python program for the above question :
Output :
hello world
Explanation:
print("hello world") #print statement which print the hello.
Code explanation :
- The above code is in python language which prints the message which is stated by the above question to print.
- It will print the hello world because the print function is used to print that message which is defined in the quotes in the function argument.
- The syntax to print the message with the help of print function is "print("message")".
Learn More :
- Python : https://brainly.in/question/1728872
Similar questions