class moron
def __init__(self, thisisausername):
self.thisisausername
A very nooby way to say: "Hey there! I’m a new user and I’m a total newbie!
see ya on the board folks!
class moron
def __init__(self, thisisausername):
self.thisisausername
A very nooby way to say: "Hey there! I’m a new user and I’m a total newbie!
see ya on the board folks!
Welcome!
Two notes:
Please surround code and output runs with “code fences”, lines of triple
backticks, eg:
```
your code
or output
goes here
```
This preserves indentation and punctuation. There’s a “</>” button in
the compose toolbar to make one of these.
The other is indentation, critical in Python. Your class above wants to
have def __init__
indented to indicate that it is inside the class
.
Cheers,
Cameron Simpson cs@cskk.id.au