Say Hello to 'hello world' in Python3

Now, start with 'hello world' 

 To get the output in the python shell you can press F5 and then you have to save the file then you get the output.



It is the easiest of the program in python. Print keyword helps to print the output in the screen.
There are a few important basics to understand. So, python has mathematical functions, like round, to round the number of digits after the decimals point, char to convert characters to the numerical representation and many more.
For string you have to provide a value in parenthesis as you saw there in the 'hello world' in parenthesis, it is a string that's why, we actually have to put a single quote to the left and to the right of the string to tell python that this was a string. But we can also put in numerical numbers if we want it to actually be computed by python.


Comments

Popular posts from this blog

String Slicing and Picking sub-string in Python3

Integers and Float in Python3

Variable in Python3