I have a Python issue, trying to use polymorphism with my classes, how can I properly implement this? Does the loop need it's own class?

前端 未结 0 1643
离开以前
离开以前 2021-01-20 11:56

When I run the below:

menu = 1
while menu == 1:
    for Stockitem in (Navsys, Wheelrims, Seatcovers, Airfresh):
        #In the next two lines we print the su         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题