On Monday, February 26, 2018 at 6:23:24 AM UTC+5:30, Rick Johnson wrote: > 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)
My thought exactly.. :) -- https://mail.python.org/mailman/listinfo/python-list