NPTEL Programming Data Structures and Algorithm Using Python Online programming Test Sep 19 2021

preview_player
Показать описание


Join this channel to get access to perks:

*********************************************************************************************

***************************************************************************************

Follow me on:

Yours,
Deep Codec Guru Family
(Founder: Ajay Prasad Kushwaha)

***************************************************************************************

#DeepCodecGuru #AjayPrasadKushwaha #OnlineSupport #Udemy #Coursera #Solution #NPTEL #NPTELSolution #NPTELQUIZSolution #NPTELProgrammingSolution #NPTELAssignmentSolution #NPTELAnswer #NPTEL #AnswerNPTEL #NPTELAssignment

nptel Programming, Data Structures And Algorithms Using Python assignment,
nptel Programming, Data Structures And Algorithms Using Python assignment answers 2021,
nptel PDSA assignment solutions,
nptel PDSA week assignment solution,
nptel Programming, Data Structures And Algorithms Using Python week assignment answers 2021,
nptel assignment answers Programming, Data Structures And Algorithms Using Python week,
nptel assignment answers PDSA,
Programming, Data Structures And Algorithms Using Pytho Solution, PDSA
Programming, Data Structures And Algorithms Using Python Programming solution,
Programming, Data Structures And Algorithms Using Python QUIZ Solution,
Programming, Data Structures And Algorithms Using Python Programming Solution,

Programming in java
Programming in C++
Problem Solving through programming in C
Programming Data Structure and Algorithm using python
Data Science for Engineers
Discrete Mathematics
Data Base Management System
Introduction to Machine Learning IITM
The Joy of Computing Using Python
Design and Analysis of Algorithm
Social Network
Soft Skills
NPTEL Certificate
NPTEL Modified Pass Certificate
NPTEL Regular Certificate
NPTEL Domain Certificate
NPTEL Star Certificate
Programming in java Solution
Programming in C++ Solution
Problem Solving through programming in C Solution
Programming Data Structure and Algorithm using python Solution
Data Science for Engineers Solution
Discrete Mathematics Solution
Data Base Management System Solution
Introduction to Machine Learning IITM Solution
The Joy of Computing Using Python Solution
Design and Analysis of Algorithm Solution
Social Network Solution
Soft Skills Solution
NPTEL 2021 Solution
NPTEL Jul-Dec Solution
NPTEL Jul-Dec 2021 Solution
Solution 2021
#DeepCodecGuru #AjayPrasadKushwaha #OnlineSupport #Udemy #Coursera #Solution #NPTEL #NPTELCourses #DCG #NPTEL2021Courses #NPTELSolution #NPTELSolution2021 #Java #C #C++ #Python #ProgrammingInJava #ProgrammingInC++ #TheJoyOfComputingUsingPython
Рекомендации по теме
Комментарии
Автор

#Q.No.8 verified solution
def aboveaverage(l):
p=0;
c=0;
m=0;
result=[]
for e in l:
p +=e[1]
c += e[2]
m += e[3]

for e in l:
count=0
if e[1]>=p/len(l):
count+=1
if e[2] >= c / len(l):
count += 1
if e[3] >= m / len(l):
count += 1
if count>=2:
result.append(e[0])
return result

DeepCodecGuru
Автор

#Q.No.7 confirm solution
forbidden = input()
while True:
try :
line = input()
if line == "":
break
if forbidden not in line:
print(line)
except EOFError:
break

DeepCodecGuru
Автор

#Q.No.4 confirmed solution
def cubefree(n):
for x in range(2, n+1):
if x*x*x >n:
return True
else:
if n%(x*x*x)==0:
return False

DeepCodecGuru
Автор

#Q.No.5 confirmed answer
def listdiff(l1, l2):
l11=[]
l22=[]
for e in l1:
if e in l2:
pass
else:
l11.append(e)
for e in l2:
if e in l1:
pass
else:
l22.append(e)
return(l11, l22)

DeepCodecGuru
Автор

#Q.No.6 confirmed solution
def deldup(l):
lcopy=[]
for e in l:
if count(l, e)==1:
lcopy.append(e)
return lcopy


def count(l, x):
cnt=0
for e in l:
if x==e:
cnt+=1
return cnt

DeepCodecGuru
Автор

#Q.no.3 Confirmed Answer
[l[0]] + evenpositions(l[2:])

DeepCodecGuru
Автор

def alldistinct(a, b, c):
if a != b:
if b != c:
# Your code below this line

DeepCodecGuru
Автор

#Q.No.7 confirm solution
forbidden = input()
while True:
try :
line = input()
if line == "":
break
if forbidden not in line:
print(line)
except EOFError:
break

DeepCodecGuru
welcome to shbcf.ru