Advertisement
Guest User

blah

a guest
Sep 17th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. >>> def bibformat_mla(author,title,city,publisher,year):
  2. ...     print "[%a]"
  3. ...     "[%a]" %author
  4. ...     print "[%t]"
  5. ...     "[%c]" %city
  6. ...     print "[%p]"
  7. ...     "[%p]" %publisher
  8. ...     print "[%y]"
  9. ...     "[%y]" %year
  10. ...     return "$a.%t.%c/:%p,%y"
  11. ...
  12. >>> bibformat_mla(author,title,city,publisher,year)
  13. Traceback (most recent call last):
  14.   File "<stdin>", line 1, in <module>
  15. NameError: name 'author' is not defined
  16. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement