Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def cube(x):
- return x**3
- def by_three():
- if x % 3 == 0:
- return cube(x)
- else:
- return False
- by_three(11)
- by_three(12)
- by_three(13)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement