Changes

Jump to: navigation, search

OPS435 Python Lab 1

1 byte added, 01:31, 22 May 2018
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')
1,760
edits

Navigation menu