Topic List

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear

toyota

Topics: 1549

Posts: 484
Last Post: 9:31:21am, 11/22/2021
oic so the line

class Privilege:
"""Show privileges of an Admin account"""
def __init__(self, privileges):

didnt really need the privileges paramater there and could have been just written as
def __init__(self): ?

when i wrote it that way it seemed to work as i was expecting. Maybe the battery example in the main text book threw me off as it was actually being used.

This chapter is definitely the hardest so far and seems there are a lot of stuff i need to conceptualize better. Whats the best way to upload my code for the little assignments in the future if I need to ask more questions?



Manual Topics: 0
Last Topic:
[none]

Manual Posts: 0
Last Post:
[none]
---