2 051
Подписчики
Нет данных24 часа
Нет данных7 дней
Нет данных30 дней
Архив постов
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 мая 2021, 07:12
Hi Gunda Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
11 февр. 2022, 21:08
Hi Shaik Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
09 янв. 2022, 05:03
Hi code Welcome to this Community. Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
03 дек. 2022, 03:52
Mr. [
1701911458] is sending a spam message.
Action: Warn (1/3) ❕08 мая 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 апр. 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 янв. 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 апр. 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 апр. 2021, 07:53
Doraemon:
Data Stucture and Algorithm
Handwritten Notes available
❤️❤️❤️❤️
https://imojo.in/dsapdf
01 сент. 2021, 13:21
