On Sunday, February 25, 2018 at 12:19:56 PM UTC-6, arya.ku...@gmail.com wrote:
> Ex: > > Names = ["Arya","Pupun"] > > for name in Names: > for c in name: > print(c) > > instead use: > > for c in name in Names: > print(c) Hmm. Why stop there? bit = ["kibbles"] bits = [bit, bit] bitts = [bits, bits] for kibbles in bit in bits in bitts: do_something(kibbles) -- https://mail.python.org/mailman/listinfo/python-list