Warm Welcome to Jenny's Lectures. On This Channel we are focusing on creating tutorials for engineers, software developers, programmers, Coders, undergraduates, graduates. We cover topics for all different skill levels, so whether you are a beginner or have some years of experience, this channel will have something for you.
We've already uploaded a wide variety of videos on topics that include: C, C++, Python, Computer Science Fundamentals, Computer Science subjects like OS, DBMS, Data Structures, DSA, DAA, Placement Series, GATE Coaching Videos, UGC NET syllabus Videos and plenty of other tips and tricks which will help you in your career.
num=input("Enter the num:") num1=[int(x) for x in num.split()] for t in num1: print(t) max=num1[0] for t1 in num1: if t1 > max: max=t1; print("Maximum number is:",max) o/p: Enter the num:33 11 22 44 10 33 11 22 44 10 Maximum number is: 44
Hello mam, I understood your explanation 💯🎉.. Should we need to draw the graphs again for each iteration to show the relaxation of edges or is it enough for one graph and relaxing the edges ?
n=input("Enter the numbers:") add=0 cnt=0 arr=[int(x) for x in n.split()] for t in arr: print(t) for cnt1 in arr: cnt=cnt+1 print("Total count is:",cnt) for num in arr: add=add+num print(add) print("Now let's find the average") avgHeight=add/cnt print(avgHeight)
num=[2,3,5,-2,10] for num1 in num: print(num1) add=0 for num1 in num: add+=num1 print("Total square is:",add*add) o/p: 2 3 5 -2 10 Total square is: 324