Changes

Jump to: navigation, search

OPS435 Python3 Lab 3

2 bytes added, 12:09, 25 September 2019
m
PART 1 - Function that does not take argument or return value
my_stuff = hello()
print('Stuff return from hello():',my_stuff)
print('the object my_stuff is of type:',type(my_stuff))
</source>You can assume that there is a hidden '''return''' statement at the end of any function if it does not have on implicitly.The following python script should produce that same result as the one above:<source lang="python">
def hello():
my_stuff = hello()
print('Stuff return from hello():',my_stuff)
print('the object my_stuff is of type:',type(my_stuff))
</source><br><br>
14
edits

Navigation menu