Advertisement
pacho_the_python

Untitled

Jul 19th, 2022
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1.  
  2. from project.software.software import Software
  3.  
  4.  
  5. class LightSoftware(Software):
  6.     def __init__(self, name, capacity_consumption, memory_consumption):
  7.         super().__init__(name, "Light", int(capacity_consumption * 1.5), int(memory_consumption / 2))
  8.        
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement