Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def function1(n):
- a = 0
- for (i = 0; i < n; i += 1):
- for (j = 0; j < n; j += 1):
- a += 1
- return a
- def function2(n):
- a = 0
- for (i = 0; i < n; i += 1):
- a += n
- return a
- def function3(n):
- return n * n
Advertisement
Add Comment
Please, Sign In to add comment