MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2wqivr/?context=3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
Show parent comments
756
Result should be ‘adbdcd aebece’. Someone needs to fix this.
425 u/itoshkov Aug 26 '20 Remove the white space and we have a deal. :) 164 u/[deleted] Aug 26 '20 edited Aug 26 '20 ''.join(itertools.product('abc', 'de')) If you want me to fix it submit a ticket, thanks.edit: Ticket assigned, standby.import itertools as it ''.join(it.chain.from_iterable(it.product('abc', 'de'))) 2 u/murtaza64 Aug 26 '20 Does * unpacking not work with non-sequence iterables? → More replies (4)
425
Remove the white space and we have a deal. :)
164 u/[deleted] Aug 26 '20 edited Aug 26 '20 ''.join(itertools.product('abc', 'de')) If you want me to fix it submit a ticket, thanks.edit: Ticket assigned, standby.import itertools as it ''.join(it.chain.from_iterable(it.product('abc', 'de'))) 2 u/murtaza64 Aug 26 '20 Does * unpacking not work with non-sequence iterables? → More replies (4)
164
''.join(itertools.product('abc', 'de')) If you want me to fix it submit a ticket, thanks.
edit: Ticket assigned, standby.
import itertools as it ''.join(it.chain.from_iterable(it.product('abc', 'de')))
2 u/murtaza64 Aug 26 '20 Does * unpacking not work with non-sequence iterables? → More replies (4)
2
Does * unpacking not work with non-sequence iterables?
→ More replies (4)
756
u/delinka Aug 26 '20
Result should be ‘adbdcd aebece’. Someone needs to fix this.