2 051
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
Matrix rotation
a,b=list(map(int,input().split()))
c=(list(map(int,input().split())))
d=[]
for i in range(a):
d.append(c[0:a])
c=c[a:]
n=[]
def abc(ii):
global n,d
if ii==0:
return 0
else:
k=[]
for i in range(a):
m=[]
for j in range(a-1,-1,-1):
m.append(d[j][i])
k.append(m[::-1])
n.append(k[::-1])
d=n[-1]
abc(ii-1)
abc(b)
for i in d:
print(*i,sep=" ",end=" ")
09 May 2021, 07:12
Hi Gunda Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
11 Fev 2022, 21:08
Hi Shaik Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
09 Yan 2022, 05:03
Hi code Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 Dek 2022, 03:52
Mr. [
1701911458] is sending a spam message.
Action: Warn (1/3) ❕08 May 2021, 16:11
Hi THE , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
02 Apr 2021, 07:09
I did not clicked on submit button for last coding questions
However my code compiled and was correct
Is there any problem ?
17 Yan 2022, 02:38
Hi Divya , Welcome to this Community for 2022 Batch Daily Off Campus Jobs Updates join this channel ✅
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 Apr 2021, 03:30
🔷*Join The Telegram Group*
Future is the initiative by *We Are with You Charitable Trust* where people from different fields who achieved sucess in their lives speak about different topics that youth want. The topics can vary from different areas like Entrepreneurship, Higher education, Social Entrepreneurship, Civils preparation, handling depression and anxiety, managing finances and many more.
🔸For more updates join the *Telegram Group* 👇👇👇👇👇👇👇https://t.me/joinchat/E5aRHzFQPVo0ODQ1
Regards
We Are with You Charitable Trust
27 Apr 2021, 07:53
Doraemon:
Data Stucture and Algorithm
Handwritten Notes available
❤️❤️❤️❤️
https://imojo.in/dsapdf
01 Sen 2021, 13:21
