Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a17ffe

Browse files
authored
Create Lab1.md
1 parent3b5e4f5 commit3a17ffe

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎Module9/Lab1.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#Module 9 Lab 1
2+
3+
Classes are just different ways to organize the variables and functions you've already been writing.
4+
Think about them as containers for variables that the internal class functions should only be able to change
5+
6+
##Instructions:
7+
8+
0. Let's walk through`lab1.py` together and play with the classes to talk about the following things Summer was talking about in her lecture
9+
10+
0. How to instantiate a class
11+
12+
0.`__init__`. When it runs. What goes in it.
13+
14+
0.`self`. What is it. What does it refer to
15+
16+
0. How to call functions on an instance.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp