What is the pythonic way to detect the last element in a 'for' loop? What is the pythonic way to detect the last element in a 'for' loop? python python