Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. def function1(n):
  2. if n > 0:
  3. n = n + 3
  4. n = n * 3
  5. n = n - 3
  6. n = n / 7
  7. return n
  8.  
  9. def function2(n):
  10. if n > 0:
  11. n = n + 3
  12. n = n * 3
  13. n = n - 3
  14. n = n / 7
  15.   print 'this is the before type: ', type(n)
  16. n = str(n)
  17. print 'this is the after type: ', type(n)
  18. return n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement