Week 3 Programming Assignment 3 Get link Facebook X Pinterest Email Other Apps - February 08, 2021 a=[int(i) for i in input().split()]final = []for i in a: if i not in final: final.append(i)print(*final, sep=" ",end=" ")Special thanks to-Ayush Paul(ECE,1st yr) Get link Facebook X Pinterest Email Other Apps Comments UnknownFebruary 8, 2021 at 10:44 AMThank youReplyDeleteRepliesSiddhartha PalFebruary 9, 2021 at 8:50 AMwelcomeDeleteRepliesReplyReplyAdd commentLoad more... Post a Comment
Week 4 Programming Assignment 2 - February 15, 2021 def fact(num): product=1 while(num>1): product*=num num-=1 return product m=int(input()) #m=men n=int(input()) #n=women if m+n>20 or m<=n: print('invalid',end="") else: print(fact(m)*fact(n)*fact(m+1)//(fact(n)*fact(m+1-n)),end="") Read more
Week 3 Programming Assignment 2 - February 08, 2021 a=[int(x) for x in input().split()] a.sort() s2=a[1] a.reverse() l2=a[1] print(s2+l2,end="") Special thanks to -Ayush Paul(ECE,1st yr) Read more
Thank you
ReplyDeletewelcome
Delete