Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_nth_item_divided(data, n):
- """Function takes list and integer as parameters"""
- try:
- print(data[n] / divisor)
- except:
- print("Cannot divide by zero.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement