I got 7 out of 10. Thanks to ALX. I just jumped at the rapid question here. I have only watched the previous video on Dictionary. I have benefited from Neso Academy on C. I hope to benefit on Python as well. Thank you Neso Academy.
I don't get why question #8 the answer is a) Andy is great. The .pop() method removes the last item if the index of the item is not specified. Shouldn't the answer be c) Andy is 1 2 Andy?
pop() removes the last item from the list and prints it (saves it in bin first), but now we are adding 'Andy is ' and 'great' together (concatenating two strings) hence we are getting 'Andy is great'@@carelessgirl3549
@@carelessgirl3549pop removes the last element and returns it so the value of pop in that case was "great", therefore "Andy is" +"great" = "Andy is great". Hope that helps
Instead of list list2 we are replacing the entire list with [10] by using slicing that is list2[0:]i.e.,from starting element to ending element of the list if we use list2[0]=[10] and print list2 we could had got option 'b'
Q.1)a)True Q.2)c)Error (Indentation error) Q.3)b)10 Q.4)d)Error (Because here 25 is a string and 10 is an int) [incompatible operation] (Runtime error) Q.5)b) (I GOT WRONG) Q.6)c) Q.7)d)error Q.8)a) Q.9)d) Q.10)b) Edit:- I got 9/10 🎉😊❤
I got option (a) for 6th question why u have said that the correct answer is option(c) Furthermore I have executed the code in compiler I have got option (a) as correct answer.Can u explain the reason for it
Because remove function doesn't return the deleted value it only delete the specified value Whereas pop function delete as well as return the value I hope this explanation will be helpful for you 🙏
I got 7 out of 10. Thanks to ALX. I just jumped at the rapid question here. I have only watched the previous video on Dictionary. I have benefited from Neso Academy on C. I hope to benefit on Python as well. Thank you Neso Academy.
All are correct 😊
Thank you sir..
I don't get why question #8 the answer is a) Andy is great. The .pop() method removes the last item if the index of the item is not specified. Shouldn't the answer be c) Andy is 1 2 Andy?
.pop() remove the element and print on the screen
@@luffydono0Okk but He write
list4.pop()
Soo it has remove entire list and then it has to write the removed list
But it's not like that
pop() removes the last item from the list and prints it (saves it in bin first), but now we are adding 'Andy is ' and 'great' together (concatenating two strings) hence we are getting 'Andy is great'@@carelessgirl3549
@@carelessgirl3549pop removes the last element and returns it so the value of pop in that case was "great", therefore "Andy is" +"great" = "Andy is great". Hope that helps
*Remember!*
Pop() method not only deletes the element but also returns it.
2/10.. was hard to find the lists interesting so I zoned out a bit. 😬 might redo the chapter later!
7\10 without pausing . I saw my errors i failled 2,7 and 4 .I didn't get list comprehension well will rewatch it
6/10
8 out of 10. Not bad. Forgot that the pop() method returns what it pops.
9/10 Thanks for the cheer up!!
all correct
please upload your videos everyday
7 thank u
8
Explain question no.5
Sure I also confused how ist option is right b option should be right
Instead of list list2 we are replacing the entire list with [10] by using slicing that is list2[0:]i.e.,from starting element to ending element of the list if we use list2[0]=[10] and print list2 we could had got option 'b'
@@saikishore2805 Thanks ❤
could u pls explain the ans for 7th question , is it because string concatenation happens only within 2 strings, do clarify
9/10 well good enough but can be better
animals = ['lion', 'tiger', 'monkey', 'elephant', 'frog']
filtered_animals = [animal.title() for animal in animals]
print(filtered_animals)
#Score is 9/10
I scored 8/10
10 though a good challenge
fun
8/10 🙂
9/10😇
9/10
10 on 10
Q.1)a)True
Q.2)c)Error (Indentation error)
Q.3)b)10
Q.4)d)Error (Because here 25 is a string and 10 is an int) [incompatible operation] (Runtime error)
Q.5)b) (I GOT WRONG)
Q.6)c)
Q.7)d)error
Q.8)a)
Q.9)d)
Q.10)b)
Edit:- I got 9/10 🎉😊❤
Q.2 c because index out of range
i got 6
8 out of 10
6
7
8 is my quiz score🙃
7 / 10 was not so attentive in few questions
5❤
Same
5/10 iam confused I think list is similar syntax as numpy
8/10 but I didn't observe properly in the 6th question
I got option (a) for 6th question why u have said that the correct answer is option(c)
Furthermore I have executed the code in compiler I have got option (a) as correct answer.Can u explain the reason for it
Yes got the same
I didn't understood why we have that result on question number 7.
Because remove function doesn't return the deleted value it only delete the specified value
Whereas pop function delete as well as return the value
I hope this explanation will be helpful for you 🙏
10/10
Me got 8out of 10 ,Q 5 n 7 r wrong
3/10
8/10🙁
I got all the answers correct, but I paused the video to think about the answers.
9
9/10
5
7/10
i scored 8/10
7
8/10🙁
10
9
8
8
8
8
9/10
9
8
8
8/10
8/10
10
8/10
8/10
5
8/10
8/10
7/10
7/10
7/10
6/10
6/10
8/10
7/10
7/10
7/10
9/10
6/10
8/10
7/10
8/10
8/10
7
8/10
7
7/10
8/10
7