Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1.  
  2.  
  3. In [1]: from roman import int_to_roman
  4. File "/home/malikarumi/Projects/roman.py", line 9
  5. raise TypeError, "expected integer, got %s" % type(input)
  6. ^
  7. SyntaxError: invalid syntax
  8.  
  9.  
  10. In [2]: int_to_roman(1-30)
  11. ---------------------------------------------------------------------------
  12. NameError Traceback (most recent call last)
  13. <ipython-input-2-a5339a4da875> in <module>()
  14. ----> 1 int_to_roman(1-30)
  15.  
  16. NameError: name 'int_to_roman' is not defined
  17.  
  18. In [3]: from roman import int_to_roman(1-30)
  19. File "<ipython-input-3-5a60dfbdb4d5>", line 1
  20. from roman import int_to_roman(1-30)
  21. ^
  22. SyntaxError: invalid syntax
  23.  
  24.  
  25. In [4]: from roman import int_to_roman
  26. File "/home/malikarumi/Projects/roman.py", line 5
  27. def int_to_roman(1-30):
  28. ^
  29. SyntaxError: invalid syntax
  30.  
  31.  
  32. In [5]: import roman
  33. File "/home/malikarumi/Projects/roman.py", line 9
  34. raise TypeError, "expected integer, got %s" % type(input)
  35. ^
  36. SyntaxError: invalid syntax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement