human
Give me a the Python program you requested given the following:
I am working on the file ".ipynb_checkpoints/Lecture4-checkpoint.ipynb".
The first task is:
Declare global every time the global x needs changing

6. Classes

Define classes with the class keyword
Here's a simple class
Can you write Python program for it?
assistant
#Here is the Python program you requested.

class foo():
    def __init__(i, arg1): # self can br replaced by anything.
        i.arg1 = arg1
    def bar(i, arg2): # Always use self as the first argument
        print i.arg1, arg2

FOO = foo(7)

FOO.bar(5)

print FOO.arg1