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
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,26 @@
1
1
# Python-Interview-Questions
2
-
- Capgemini
3
2
3
+
-##### Introduction
4
+
-##### Data Types
5
+
-##### Loops
6
+
-##### Built in Data Structure
7
+
-##### List
8
+
-##### Tuple
9
+
-##### Set
10
+
-##### Frozenset
11
+
-##### Dictionary
12
+
-##### Ordered Dictionary
13
+
-##### _String_
14
+
-##### Function
15
+
-##### Inheritance
16
+
-##### Classes & Objects
17
+
-##### Exceptions
18
+
19
+
20
+
21
+
22
+
23
+
- Capgemini
4
24
#### What is a method?
5
25
6
26
A method is a function on some object x that you normally call as x.name(arguments...). Methods are defined as functions inside the class definition: class C: def meth (self, arg): return arg*2 + self.attribute.
0 commit comments