class Node: def __init__(self, val): self.val = val self.next = None while True: try: &nbs...