MCPcopy Create free account
hub / github.com/geekcomputers/Python / unitConversion

Class unitConversion

advanced_calculator.py:272–333  ·  view source on GitHub ↗

_summary_: Class enriched with all the methods to convert units

Source from the content-addressed store, hash-verified

270 # Remove everything
271
272 class unitConversion:
273 """_summary_: Class enriched with all the methods to convert units"""
274
275 # Do we full-stops in generating documentations?
276
277 def __init__(self):
278 """_summary_: Initialise the class with the required attributes"""
279 self.take_inputs()
280
281 def length(self):
282 """_summary_: Convert length units"""
283 # It should have a meter to unit and unit to meter converter
284 # Othe lengths units it should also have.
285 # Like cm to pico meter and what not
286 pass
287
288 def area(self):
289 # This will to have multiple shapes and polygons to it to improve it's area.
290 # This will to have multiple shapes and polygons to it to improve it's area.
291 # I will try to use the best of the formula to do it like the n number of polygons to be solved.
292
293 pass
294
295 def volume(self):
296 # Different shapes and polygons to it to improve it's volume.
297 pass
298
299 def mass(self):
300 pass
301
302 def time(self):
303 pass
304
305 def speed(self):
306 pass
307
308 def temperature(self):
309 pass
310
311 def data(self):
312 pass
313
314 def pressure(self):
315 pass
316
317 def energy(self):
318 pass
319
320 def power(self):
321 pass
322
323 def angle(self):
324 pass
325
326 def force(self):
327 pass
328
329 def frequency(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected