Changes

Jump to: navigation, search

OPS435 Python3 Lab 7

71 bytes added, 20:47, 3 November 2019
Part 2: Global Scope
: Sometimes you want to have an object accessible from anywhere in your program, including inside and outside any functions. Here's an example:
:'''[https://ict.senecacollege.ca/~raymond.chan/ops435/labs/lab7/lab7h.py lab7h.py]''' - global scope <source lang="python">
#!/usr/bin/env python3
# Student ID: [seneca_id]
1,760
edits

Navigation menu