I need to print a list which have compination of "a to e " and "1 to 3" ? Output will be (a,1,b,2,c,3,d,e)! (Python preffered) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

I need to print a list which have compination of "a to e " and "1 to 3" ? Output will be (a,1,b,2,c,3,d,e)! (Python preffered)

Begginners program.

22nd Mar 2019, 12:42 PM
Lijo David
Lijo David - avatar
2 Respostas
+ 4
I did not understand bit I think you have two arrays the first contains a to e and the second contains 1 to 3 Then you will have a loop to print an element from the first then one from the second After that you will print the least of second array Sorry I just tried to help
22nd Mar 2019, 8:06 PM
ABADA S
ABADA S - avatar
0
Output: a 1 b 2 c 3 d e This must be the output. Comment Logic or program please.
23rd Mar 2019, 2:08 AM
Lijo David
Lijo David - avatar