Sep-27-2020, 02:23 PM
I'm trying to cycle through a length of characters but I am having problems figuring out how to just have 22 show. instead I am getting the following result; I can't figure out how to make the last column cycle through 'source' first and then move onto the next column and to the same, 22 times upto the last character.
Output:be.com/channel/UC6https://www.youtube.com/channel/UC7https://www.youtube.com/channel/UC8https://www.youtube.com/channel/UC9
--https://www.youtube.com/channel/UC__https://www.youtube.com/channel/UCaahttps://www.youtube.com/channel/UCbbhttps://www.youtube.com/channel/UCcchttps://www.youtube.com/channel/UCddhttps://www.youtube.com/channel/UCeehttps://www.youtube.com/channel/UCffhttps://www.youtube.com/channel/UCgghttps://www.youtube.com/channel/UChhhttps://www.youtube.com/channel/UCiihttps://www.youtube.com/channel/UCjjhttps://www.youtube.com/channel/UCkkhttps://www.youtube.com/channel/UCllhttps://www.youtube.com/channel/UCmmhttps://www.youtube.com/channel/UCnnhttps://www.youtube.com/channel/UCoohttps://www.youtube.com/channel/UCpphttps://www.youtube.com/channel/UCqqhttps://www.youtube.com/channel/UCrrhttps://www.youtube.com/channel/UCsshttps://www.youtube.com/channel/UCtthttps://www.youtube.com/channel/UCuuhttps://www.youtube.com/channel/UCvvhttps://www.youtube.com/channel/UCwwhttps://www.youtube.com/channel/UCxxhttps://www.youtube.com/channel/UCyyhttps://www.youtube.com/channel/UCzzhttps://www.youtube.com/channel/UCAAhttps://www.youtube.com/channel/UCBBhttps://www.youtube.com/channel/UCCChttps://www.youtube.com/channel/UCDDhttps://www.youtube.com/channel/UCEEhttps://www.youtube.com/channel/UCFFhttps://www.youtube.com/channel/UCGGhttps://www.youtube.com/channel/UCHHhttps://www.youtube.com/channel/UCIIhttps://www.youtube.com/channel/UCJJhttps://www.youtube.com/channel/UCKKhttps://www.youtube.com/channel/UCLLhttps://www.youtube.com/channel/UCMMhttps://www.youtube.com/channel/UCNNhttps://www.youtube.com/channel/UCOOhttps://www.youtube.com/channel/UCPPhttps://www.youtube.com/channel/UCQQhttps://www.youtube.com/channel/UCRRhttps://www.youtube.com/channel/UCSShttps://www.youtube.com/channel/UCTThttps://www.youtube.com/channel/UCUUhttps://www.youtube.com/channel/UCVVhttps://www.youtube.com/channel/UCWWhttps://www.youtube.com/channel/UCXXhttps://www.youtube.com/channel/UCYYhttps://www.youtube.com/channel/UCZZhttps://www.youtube.com/channel/UC00https://www.youtube.com/channel/UC11https://www.youtube.com/channel/UC22https://www.youtube.com/channel/UC33https://www.youtube.com/channel/UC44https://www.youtube.com/channel/UC55https://www.youtube.com/channel/UC66https://www.youtube.com/channel/UC77https://www.youtube.com/channel/UC88https://www.youtube.com/channel/UC99
addr = "https://www.youtube.com/channel/UC" source = "-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" for c in source: for a in range(21): print(addr.join([char * a for char in source]))