Skip to content

Commit

Permalink
Moved Exercises to seperate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Karandeep Grover committed Feb 14, 2021
1 parent bb15f2f commit cf1cbe9
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ emp = Employee(1, "coder")
2. Use del property to first delete id attribute and then the entire object


[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/16_class_and_objects/16_class_and_objects.py)



[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/16_class_and_objects/16_class_and_objects.py)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ class Dog(Animal):
super()-it refers Animal class,now you can call Animal's methods.
```

[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/17_inheritance/17_inheritance.py)



[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/17_inheritance/17_inheritance.py)
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ Ans : just make subclass from teacher so that student will become teacher



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/18_multiple_inheritance/18_multiple_inheritance.py)



[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/18_multiple_inheritance/18_multiple_inheritance.py)
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ create cusomException named ismajor and raise it if age<18.



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/19_raise_exception_finally/19_raise_exception_finally.py)



[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/19_raise_exception_finally/19_raise_exception_finally.py)
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/20_Iterators/20_Iterators.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/20_Iterators/20_Iterators.py)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ for exmaple : 1 4 9 16 ..



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/21_genrators/21_genrators.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/21_generators/21_generators.py)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ integer = [1, -1, 2, -2, 3, -3]
sq_set = {1, 4, 9}
```




[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/22_list_set_dict_comprehension/22_list_set_dict_comprehension.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/22_list_set_dict_comprehension/22_list_set_dict_comprehension.py)
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/23_sets_frozensets/23_sets_frozensets.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/23_sets_frozensets/23_sets_frozensets.py)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ example:
2. Find average marks for the three subjects using command line input of marks.


[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/24_argparse/24_argparse.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/24_argparse/24_argparse.py)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ example:
factorial(5) : 60
```
[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basicsHindi/25_decorators/25_decorators.py)
[Solution]https://github.com/codebasics/py/blob/master/Basics/Exercise/25_decorators/25_decorators.py)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ for i in range(10):



[Solution](https://github.com/codebasics/py/blob/master/Basics/python_basics/26_multithreading/26_multithreading.py)
[Solution](https://github.com/codebasics/py/blob/master/Basics/Exercise/26_multithreading/26_multithreading.py)

0 comments on commit cf1cbe9

Please sign in to comment.