- Видео 100
- Просмотров 185 709
Code and Debug
Добавлен 17 сен 2021
I train students and help them learn coding :)
In this channel, I try to create content which can help you learn coding and not get you into tutorial hell.
In this channel, I try to create content which can help you learn coding and not get you into tutorial hell.
File Handling (Different Operations) | Class 67 | Python (Core & Advance) Course
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts.
🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more:
learn.codeanddebug.in/course/python-core-advance-73911
Login with phone number 👆 and you will be able to access it for free.
🔗 Connect with Us:
🌐 Website: codeanddebug.in/
📷 Instagram: codeanddebug
🔗 Personal LinkedIn: www.linkedin.com/in/anirudh-khurana
🔗 Code and Debug LinkedIn: www.linkedin.com/company/code-debug/
🐦 Twitter: x.com/anirudhkh1
📘 Facebook: codeanddebu...
🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more:
learn.codeanddebug.in/course/python-core-advance-73911
Login with phone number 👆 and you will be able to access it for free.
🔗 Connect with Us:
🌐 Website: codeanddebug.in/
📷 Instagram: codeanddebug
🔗 Personal LinkedIn: www.linkedin.com/in/anirudh-khurana
🔗 Code and Debug LinkedIn: www.linkedin.com/company/code-debug/
🐦 Twitter: x.com/anirudhkh1
📘 Facebook: codeanddebu...
Просмотров: 28
Видео
File Handling (Write & Append Mode) | Class 66 | Python (Core & Advance) Course
Просмотров 2911 часов назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
File Handling (Read Mode) | Class 65 | Python (Core & Advance) Course
Просмотров 572 часа назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Exception Handling | Class 64 | Python (Core & Advance) Course
Просмотров 452 часа назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Solving basic function questions | Class 63 | Python (Core & Advance) Course
Просмотров 1,6 тыс.6 месяцев назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Named and Default Parameters in Functions | Class 62 | Python (Core & Advance) Course
Просмотров 6676 месяцев назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Parameters, Local Variables, Scoping in Python | Class 61 | Python (Core & Advance) Course
Просмотров 8768 месяцев назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Introduction to Functions in Python | Class 60 | Python (Core & Advance) Course
Просмотров 7418 месяцев назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Sets Basic Logic Buildup | Class 59 | Python (Core & Advance) Course
Просмотров 4888 месяцев назад
Welcome to the Python (Core & Advance) course! Whether you're a beginner or looking to advance your skills, this comprehensive playlist will guide you through Python programming from the fundamentals to advanced concepts. 🚀 Enroll in the Full Free Course along with resources/notes/assignments and much more: learn.codeanddebug.in/course/python-core-advance-73911 Login with phone number 👆 and you...
Introduction to Sets | Class 58 | Python (Core & Advance) Course
Просмотров 1 тыс.9 месяцев назад
Introduction to Sets | Class 58 | Python (Core & Advance) Course
Dictionary in Dictionary in Python | Class 57 | Python (Core & Advance) Course
Просмотров 1,7 тыс.10 месяцев назад
Dictionary in Dictionary in Python | Class 57 | Python (Core & Advance) Course
(Solution) Iterating Key Values in Dictionary | Class 56 | Python (Core & Advance) Course
Просмотров 1,4 тыс.10 месяцев назад
(Solution) Iterating Key Values in Dictionary | Class 56 | Python (Core & Advance) Course
Iterating Key Values in Dictionary | Class 55 | Python (Core & Advance) Course
Просмотров 1,1 тыс.10 месяцев назад
Iterating Key Values in Dictionary | Class 55 | Python (Core & Advance) Course
Get, Add, Update, Remove key values in Dictionary | Class 54 | Python (Core & Advance) Course
Просмотров 1 тыс.10 месяцев назад
Get, Add, Update, Remove key values in Dictionary | Class 54 | Python (Core & Advance) Course
Introduction to dictionary in python | Class 53 | Python (Core & Advance) Course
Просмотров 1 тыс.10 месяцев назад
Introduction to dictionary in python | Class 53 | Python (Core & Advance) Course
String methods - Part 3 - Index, Find, Replace, Count | Class 52 | Python (Core & Advance) Course
Просмотров 88510 месяцев назад
String methods - Part 3 - Index, Find, Replace, Count | Class 52 | Python (Core & Advance) Course
(Solution) String methods - Split and Joins | Class 51 | Python (Core & Advance) Course
Просмотров 92710 месяцев назад
(Solution) String methods - Split and Joins | Class 51 | Python (Core & Advance) Course
String methods - Split and Joins | Class 50 | Python (Core & Advance) Course
Просмотров 97110 месяцев назад
String methods - Split and Joins | Class 50 | Python (Core & Advance) Course
Solution for String methods - Part 1 | Class 49 | Python (Core & Advance) Course
Просмотров 1,1 тыс.10 месяцев назад
Solution for String methods - Part 1 | Class 49 | Python (Core & Advance) Course
String methods - Part 1 | Class 48 | Python (Core & Advance) Course
Просмотров 1 тыс.10 месяцев назад
String methods - Part 1 | Class 48 | Python (Core & Advance) Course
String Slicing in Python | Class 47 | Python (Core & Advance) Course
Просмотров 86011 месяцев назад
String Slicing in Python | Class 47 | Python (Core & Advance) Course
ASCII Codes and Operations on Strings | Class 46 | Python (Core & Advance) Course
Просмотров 87311 месяцев назад
ASCII Codes and Operations on Strings | Class 46 | Python (Core & Advance) Course
Introduction to Strings | Class 45 | Python (Core & Advance) Course
Просмотров 97111 месяцев назад
Introduction to Strings | Class 45 | Python (Core & Advance) Course
Introduction to tuples in Python | Class 44 | Python (Core & Advance) Course
Просмотров 87211 месяцев назад
Introduction to tuples in Python | Class 44 | Python (Core & Advance) Course
List Slicing in Python | Class 43 | Python (Core & Advance) Course
Просмотров 1,1 тыс.11 месяцев назад
List Slicing in Python | Class 43 | Python (Core & Advance) Course
List Comprehension in Python | Class 42 | Python (Core & Advance) Course
Просмотров 1,4 тыс.11 месяцев назад
List Comprehension in Python | Class 42 | Python (Core & Advance) Course
[Solution] Python Lists Intermediate Questions | Class 41 | Python (Core & Advance) Course
Просмотров 2 тыс.11 месяцев назад
[Solution] Python Lists Intermediate Questions | Class 41 | Python (Core & Advance) Course
Membership Operators in Python | Class 40 | Python (Core & Advance) Course
Просмотров 1 тыс.11 месяцев назад
Membership Operators in Python | Class 40 | Python (Core & Advance) Course
List Functions and Methods (Copy/Extend/Count) | Class 39 | Python (Core & Advance) Course
Просмотров 1,4 тыс.11 месяцев назад
List Functions and Methods (Copy/Extend/Count) | Class 39 | Python (Core & Advance) Course
[SOLUTION] List Functions and Methods | Class 38 | Python (Core & Advance) Course
Просмотров 1,7 тыс.11 месяцев назад
[SOLUTION] List Functions and Methods | Class 38 | Python (Core & Advance) Course
Thank you sir for restarting the serius❤❤❤
Sir this lecture assignment....?
Clear
Sir print new line chodta he ye aaj pata chala he tx ❤❤ I will share your lecture in my friend whatsapp group ❤❤
Clear❤❤
Thank you for uploading this video sir ❤❤❤❤
Thank you for uploading this video sir❤❤❤❤❤❤
Sir python ke function ke aage ke lecture dalo plz i not affordable your fees plz sir❤❤❤❤❤❤❤
Already uploaded
Sir python ke function ke aahe ke lecture dalo plz i not affordable your fees plz sir❤❤❤❤❤❤❤
generators padhao
Q91 Answer as follows.. for i in range(5,0,-1): for j in range(5,i,-1): print(' ', end=' ') for k in range((i*2)-1): print('*', end=' ') print() for i in range(2,6): for j in range(i,5): print(' ', end=' ') for k in range((i*2)-1): print('*', end=' ') print()
Course enrollment kay ly referral code ky ha
Assalam o Alikum
Thankyou Sir 💙excellent 🌼explanation in simple way 🌺🌠
how to find the second largest number in a list?
clear
is this optimized code?
unable to find Discription and curriculam in the website. can someone help
Q.72 n=int(input("enter number of lines= " ") for i in range(n, 0, -1): for j in range(5, 0, -1): print(i, end= " " ) print()
q149 student_dict = {} for i in range(0, 5): list = [] for j in range(0, 5): marks = int( input(f"enter the marks for student{i+1} for the {j+1} sunject = ") ) list.append(marks) student_dict.update({f"student{i+1}": list}) print(student_dict) highest_student_name = "" max = 0 for name, v in student_dict.items(): # total = sum(v) total = 0 for each_marks in v: total = total + each_marks percentage = total * 100 / 500 if total > max: max = total highest_student_name = name print(f"{name} has scored {total} marks ,percentage = {percentage}") print(f"{highest_student_name} has scored maximum marks where marks = {max}")
very nice from pakistan
sir ji function se aage bhi pada do .. sir
sir is course me DSA v complete krwaoge....?
""" Question 4: write a program that converts string in camelCase to snake_case. for example, converting "HelloWorldHowAreYou" should result in "hello_world_how_are_you" """ my_string="HelloWorldHowAreYou" result="" for ch in my_string: if ch.isupper(): result+="_"+ch.lower() else: result+=ch if result[0]=="_": result=result[1:] print(result)
""" Question 2: write a program to reverse the order of words. """ #1st way using split and slicing str1="thoughts become things" a=str1.split() print(a) b=a[::-1] print(b) #2nd way using split and for loop logic str1="thoughts become things" a=str1.split() print(a) for i in range(len(a)-1,-1,-1): print(a[i],end=" ") #3rd way using split and join function str1="thoughts become things" a=str1.split() print(a) a=a[::-1] result=" ".join(a) print(result)
can anyone share me notes link
Q.137 a = input("Enter a string : ") alp = 0 dig = 0 spcs = 0 sym = 0 for i in a: if i.isalpha(): alp = alp + 1 elif i.isdigit(): dig = dig + 1 elif i == " ": spcs = spcs + 1 else: sym = sym + 1 print(alp) print(dig) print(spcs) print(sym)
# Homework question solving using while loop because while loop allows for manual control over the index i. After removing an element with a.pop(i), the index i is not incremented, meaning the loop will check the new element that shifted into the current position. a=[45,66,66,66,66,78,11,11,12,12,12] i=0 while i<len(a): if a[i]%2==0: a.pop(i) else: i+=1 print(a)
Q.119. one = [88, 89, 98, 77, 5, 77, 4] middle_index = len(one) // 2 half1 = [] half2 = [] for i in range(0, middle_index): half1.append(one[i]) for i in range(middle_index, len(one)): half2.append(one[i]) print(half1) print(half2)
clear
Q. 84 for i in range(1, 6): for j in range(i,0, -1): print(j, end=" ") print("")
Sir, please continue the series.
TypeError: unhashable type: 'list'
var1="helloWorldHowAreYou" result="" for ch in var1: if ch.islower(): result=result+ch elif ch.isupper(): result=result+"_"+ch.lower() print(result)
Need the answer for question 104. Without using a new list
Correct code will be a = [6, 8, 11, 1, 2, 4, 9, 10] i = 0 while i < len(a): if a[i] % 2 == 0: a.pop(i) else: i += 1 print(f"the new list is {a}")
x = int(input("Enter x num : ")) y = int(input("Enter y num : ")) if x < y: i = x while i <= y: print(i, end=" ") i += 1 elif y < x: i = y while i <= x: print(i, end=" ") i += 1 else: print("Both number are equel")
why does python exclude the right digit in the range meaning why does it only goes upto n-1 in (0,n)
Thankyou concept clear ho gaya!!
Course and explanation along with your way if teaching is just too awesome, but ye course bahut hi slow chal raha hai jiske wajah se continuity nahi ho paa rahi hai
big thanks to you sir i am actually trying and getting better day by day thanks a lot!!
clear
Ques 164: set1 = {1,4,3,6,5,43,21} set2 = {2,43,5,4,87,6,9} set3 = set() for i in set1: if i not in set2: set3.add(i) print(set3)
Question - 149 marks = { } total_sum = 0 max_sum = 0 list_value= [] m = int(input("Enter the num of students: ")) for _ in range(m): name_key = input("Enter the name of the student: ") list_value = [] for _ in range(5): marks_value = int(input("Enter the marks: ")) list_value.append(marks_value) marks.update({name_key:list_value}) print(marks) if marks: max_key = list(marks.keys())[0] for key, value in marks.items(): for element in value: total_sum += element print(total_sum) if total_sum > max_sum: max_sum = total_sum max_key = key total_sum = 0 print(f"Student with highest marks is {max_key} with {max_sum} marks")
Question 147: student_dict = { } value_list =[] total = 0 percentage = 1 i = int(input("Enter the number of students: ")) for _ in range(i): key = input("Enter the name of the student: ") value_list = [] for _ in range(i): value = int(input("Enter the marks: ")) value_list.append(value) student_dict.update( {key:value_list} ) for key,value in student_dict.items(): #print(value) for element in value: #print(element) total+=element #print(total) percentage = (total/200)*100 print(f'{key} - Sum: {total}') print(f'{key} - Percentage: {percentage}') total = 0
Clear
TypeError: check_account_exists() takes 0 positional arguments but 1 was given sir ye error aa rha h
102 question : without using loops """" my_list = [51,85,1748,52,44,100,200] my_list.sort() print(my_list[len(my_list)-1] """" works with positive and negative values
a = "Hello World This is Python" words = a.split() rev = [] for w in words: rev.append(w[::-1]) print(words) print(rev)
Q120) input from user n=int(input()) l=[] for i in range(0,n): a=int(input()) l.append(a) l[0],l[-1]=l[-1],l[0] print(l)
Q119) #taking input from user n= int(input()) l=[] r1=[] r2=[] for i in range(0,n): a=int(input()) l.append(a) if len(l)%2==0: for num in range(1,int(n/2)+1): r1.append(num) for num in range(int(n/2)+1,n+1): r2.append(num) else: for num in range(1,int((n+1)/2)+1): r1.append(num) for num in range(int((n+1)/2)+1,n+1): r2.append(num) print(l) print(r1) print(r2)