lists

  Рет қаралды 206,006

NOC16 CS11

NOC16 CS11

Күн бұрын

Пікірлер: 29
@pythonnme6343
@pythonnme6343 7 жыл бұрын
These lectures are really good. Madhavan Sir, you are amazing.
@tech__drao6310
@tech__drao6310 2 жыл бұрын
Excellent explanations. Wish I did this course first. Shunned this course as an advanced course for a beginner in Python like me. 👍
@RA-oo4lj
@RA-oo4lj 5 жыл бұрын
Simply the best teacher I have ever come across in CS.
@viveksingh5528
@viveksingh5528 4 жыл бұрын
By far the best teaching, i have come across, clearing the fundamental
@rjain3443
@rjain3443 Жыл бұрын
Amazing lectures Prof. Madhavan !!! Thank you for this.
@harshitanedunuri1403
@harshitanedunuri1403 4 жыл бұрын
Excellent💯💯
@coldcoke9254
@coldcoke9254 2 жыл бұрын
this id golden, he explained it so beautifully
@Jaimin_Bariya
@Jaimin_Bariya 2 ай бұрын
Jp here again [Comment number 29] Thank you, Sir, :)
@riasharma8437
@riasharma8437 5 жыл бұрын
Good explanation
@Alexandraargame
@Alexandraargame 2 жыл бұрын
really helpfull
@rohanthomas5434
@rohanthomas5434 5 ай бұрын
22:37. Consider the following code, my_list = [1,2,3] new_list = my_list my_list = [4,5,6] If my_list and new_list point to the same data, why am I getting different outputs?
@YashPareek-zv9jg
@YashPareek-zv9jg 3 ай бұрын
you are not pointing new list to my list as you are not using pointers. you made new list as my list and then changed my list so you will get different outputs
@akhileshmachiraju1521
@akhileshmachiraju1521 2 жыл бұрын
I did the same thing as him, created two lists1 and list2 with same elements. However, when I executed 'list1 is list2' system gave 'False'. Then I checked list1 and list2 values, but they were same. Why did it show False?
@Dream-op5th
@Dream-op5th 2 жыл бұрын
is gives true only if they are pointing to same objects. if you had written list1 = [1,2,3,4] and then list2 = list1, then you can expect the output of list1 is list2 as true.
@zen29d
@zen29d 5 жыл бұрын
I think both value pointed to same location when x=5 y=x but when x=7 x is bound to new value and y remain to previous bounded value
@manikandan_k
@manikandan_k 3 жыл бұрын
That is not true. when you assign a variable which has a immutable value type to another variable, you are creating two separate instances of object. You can easily check this in pythontutor.com
@apoorvakhare4276
@apoorvakhare4276 3 ай бұрын
I agree with this initially they are pointing to the same location because print(id(x)) and print(id(y)) gives the same result , which means they are pointing to the same value . After updating the value of x , x started pointing to other address and y is still pointing to the initial location.
@sahdevrai3368
@sahdevrai3368 4 жыл бұрын
I think L[:]==L[0:len(L) +1] but not L[:]==L[0:len(L) ]
@praneshstark5604
@praneshstark5604 3 жыл бұрын
No. It's not len(L)+1. It's len(L). Because for len() we don't count from 0, we start from 1
@Nick-tt9lh
@Nick-tt9lh 3 жыл бұрын
Even your code will show the same result but the most efficient way to write the code is L[0:len(L)]
@manjunath7534
@manjunath7534 2 жыл бұрын
Ed who?
@pushkarc.athavale3789
@pushkarc.athavale3789 5 жыл бұрын
How do you clear the screen sir?
@HarikrishnanGPai
@HarikrishnanGPai 4 жыл бұрын
In python scripts, the screen cannot be cleared. There is no command to do that.
@vinayakkumar5524
@vinayakkumar5524 4 жыл бұрын
Command "cls" will clear the command prompt screen. Make sure you exit the python interpreter using the 'quit' or 'exit' command before typing "cls" as this command is not defined in python hence python will not recognize it.
@wendychable362
@wendychable362 2 жыл бұрын
Nice cheeks bro
manipulating lists
18:46
NOC16 CS11
Рет қаралды 126 М.
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 1,4 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,6 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Натурал Альбертович
Рет қаралды 4,1 МЛН
assignment statement, basic types - int, float, bool
21:58
NOC16 CS11
Рет қаралды 261 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Python Lists
11:41
Khan Academy
Рет қаралды 422 М.
Python lists, sets, and tuples explained 🍍
15:06
Bro Code
Рет қаралды 315 М.
list comprehension
18:12
NOC16 CS11
Рет қаралды 73 М.
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 1,4 МЛН
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 690 М.
Python for Beginners - Learn Coding with Python in 1 Hour
1:00:06
Programming with Mosh
Рет қаралды 19 МЛН
arrays vs lists, binary search
24:57
NOC16 CS11
Рет қаралды 142 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,7 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН