0
Pattern programming
can anyone help me to print 1 32 456 10987
8 Respuestas
+ 5
Try to study the codes here:
https://www.sololearn.com/learn/936/?ref=app
+ 4
Pavankumar A N are you having problems with your java/c implementation of the algorithm?
Post your code link here so we can help.
+ 2
#If you are into oneliners try
[print(''.join([str(i) for i in range(j*(j-1)//2+1,j*(j+1)//2+1)][::(-1,1)[int(j%2)]])) for j in range(1,5)]
0
1
3 2
4 5 6
10 9 8 7
so
1
2 3
4 5 6
7 8 9 10
0
I know this but I want to print the pattern what I requested.
0
can you please write it in either java or c?
0
I don't know python that's why I'm asking you to code it in java either c. please