Skip to content

Commit c79ca70

Browse files
authored
Merge branch 'master' into dependabot/pip/starlette-0.36.2
2 parents 252ed68 + 6b5ac9b commit c79ca70

104 files changed

Lines changed: 72187 additions & 380 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 0 deletions
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def __init__(self):
1010
self.display = "1080p"
1111
self.battery = "60 WHr"
1212
self.storage = "256 GB SSD"
13-
1413

1514
def setSpecifications(self,specs:dict):
1615
try:
@@ -35,9 +34,6 @@ def getSpecifications(self):
3534
print(f"Battery: {self.battery}")
3635
print(f"Storage: {self.storage}")
3736

38-
39-
40-
4137
"""
4238
Single-level Inheritance
4339
(Child Class)
@@ -48,7 +44,7 @@ def __init__(self,specs:dict):
4844
#Set the passed specs
4945
super().setSpecifications(specs)
5046

51-
# Gaming laptoip features (extra)
47+
# Gaming laptop features (extra)
5248
self.refresh_rate = "144 Hz"
5349
self.response_time = "2ms"
5450

@@ -57,11 +53,6 @@ def getGamingSpecs(self):
5753
print(f"Refresh Rate: {self.refresh_rate}")
5854
print(f"Response Time: {self.response_time}")
5955

60-
61-
62-
63-
64-
6556
if __name__ == "__main__":
6657

6758
gaming_specs = {
@@ -74,6 +65,5 @@ def getGamingSpecs(self):
7465
}
7566

7667
# "model": "ASUS TUF Gaming A15",
77-
7868
gl = GamingLaptop(specs=gaming_specs)
7969
gl.getGamingSpecs()

0 commit comments

Comments
 (0)