1,760
edits
Changes
→Creating the introductory "Hello World" Script
:#Add the following line into your source code file:<source>
print()
</source>And run it from the command-line: <source>python3 ./testlab1a.py</source>You will notice that nothing is printed even though we called the "print()" function. This is because we didn't pass any arguments to it, lets try again.<br><br>
:# Modify your call to print() to inlcude an argument ('hello world'):<br><source>
print('hello world')