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
If anyone needs help during capgemini exam message me
13 يونيو 2021, 12: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
