Advertisement
Guest User

practice

a guest
Aug 22nd, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. baby = raw_input("Baby is behaving? ")
  2. mother = raw_input("Mom if feeling? ")
  3. dad = raw_input("dad's mood is? ")
  4. brother = raw_input("brother's is? ")
  5.  
  6. from sys import argv
  7. baby, mother, dad, brother = argv
  8.  
  9. print "The baby is:", baby
  10. print "The mom is:", mother
  11. print "The dad is:", dad
  12. print "The brother is:", brother
  13.  
  14. ERROR
  15. Traceback (most recent call last):
  16.   File "ex13p.py", line 7, in <module>
  17.     baby, mother, dad, brother = argv
  18. ValueError: need more than 1 value to unpack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement