Advertisement
Guest User

Good

a guest
Aug 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1.     def do_who(self, line):
  2.         t = line.split(' ')
  3.         if t[1].isdigit():
  4.             global p
  5.             p = [n, t[0], t[1]]
  6.                
  7.     def do_show(self, line):
  8.         print(p[0], p[1], p[2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement