You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -601,9 +601,6 @@ Everything in Python is an object and all variables hold references to the objec
601
601
602
602
- However, when we pass literal arguments like strings, numbers, or tuples, they pass by value. This is because they are immutable.
603
603
604
-
605
-
606
-
607
604
#### Q. What is the use of enumerate() in Python?
608
605
609
606
#### Q. What are `*args`, `**kwargs` ?
@@ -657,11 +654,7 @@ def f(x, *tup, **kwargs):
657
654
```
658
655
659
656
660
-
#### Q. How instance variables are different from class variables?
661
657
662
-
#### Q. Differentiate between "*.py" file and "*.pyc" file?
663
-
664
-
#### Q. Explain difference between Map vs Reduce Vs Filter ?
665
658
666
659
#### Q. What is lambda? What are Lambda Functions ?Explain lambda expressions. When would you use one? What is Anonymous Function? Why lambda forms in python does not have statements? What is the lambda operator?
667
660
@@ -722,24 +715,7 @@ We know that a package may contain sub-packages and modules. A module is nothing
722
715
To create a package of our own, we create a directory and create a file `__init__.py` in it. We leave it empty. Then, in that package, we create a module(s) with whatever code we want. For a detailed explanation with pictures, refer to Python Packages.
723
716
724
717
725
-
#### Q. What are Generators ?
726
-
727
-
#### Q. What are Iterators ?
728
-
729
-
#### Q. Can generator be used to create Iterators ? Give example
730
-
731
-
#### Q. Can iterators be used to create generator ?
732
-
733
-
#### Q. What are iterators and generators?
734
-
735
-
#### Q. What is Method Resolution Order ?
736
-
737
-
738
-
739
-
#### Q. Differentiate between append() and extend() methods ?
740
-
741
-
---
742
-
#### Q. _Application Based_
718
+
#### _Application Based_
743
719
#### Q. What is Web Scraping? How do you achieve it in Python?
744
720
We can use scrapy.
745
721
@@ -4658,3 +4634,13 @@ Without the rstrip(), we would get blank lines between the output.
4658
4634
#### Q. What is inheritance?
4659
4635
#### Q. What happens if you have an error in an __init__ statement?
4660
4636
#### Q. What happens in python if you try to divide by zero?
4637
+
#### Q. How instance variables are different from class variables?
4638
+
#### Q. Differentiate between "*.py" file and "*.pyc" file?
4639
+
#### Q. Explain difference between Map vs Reduce Vs Filter ?
4640
+
#### Q. What are Generators ?
4641
+
#### Q. What are Iterators ?
4642
+
#### Q. Can generator be used to create Iterators ? Give example
4643
+
#### Q. Can iterators be used to create generator ?
4644
+
#### Q. What are iterators and generators?
4645
+
#### Q. What is Method Resolution Order ?
4646
+
#### Q. Differentiate between append() and extend() methods ?
0 commit comments