Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. '''
  2. Created on 27-nov.-2014
  3.  
  4. @author: edeeckha
  5. '''
  6. class Woordrits:
  7.     def __init__(self, lijst):
  8.        
  9.         if isinstance(lijst, list):
  10.             for item in lijst:
  11.                 self.woorden = list(self).append(item)
  12.         elif isinstance(lijst, str):
  13.             self.woorden = list(self).append(str)
  14.    
  15.     def __repr__(self):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement