We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a6fa53 + 450bf3e commit f0aacacCopy full SHA for f0aacac
borg.py
@@ -18,19 +18,19 @@ class YourBorg(Borg):
18
rm1.state = 'Idle'
19
rm2.state = 'Running'
20
21
- print('rm1:', rm1)
22
- print('rm2:', rm2)
+ print('rm1: {0}'.format(rm1))
+ print('rm2: {0}'.format(rm2))
23
24
rm2.state = 'Zombie'
25
26
27
28
29
- print('rm1 id:', id(rm1))
30
- print('rm2 id:', id(rm2))
+ print('rm1 id: {0}'.format(id(rm1)))
+ print('rm2 id: {0}'.format(id(rm2)))
31
32
rm3 = YourBorg()
33
34
35
36
- print('rm3:', rm3)
+ print('rm3: {0}'.format(rm3))
0 commit comments