class tag

88 questions


1 answers
230 views
0
Questions about creating Python class objects

acc_cus = []dif = 0while 1: num = int(input( ++++++++++++++++++++++++++++++Enter the number of the item you want.1. Create an account2. Deposit3. Withdrawal4. Check account information5. Shutdown++++...

1 years ago

2 answers
325 views
0
Understanding How Attributes Are Declared Outside the Constructor

What is the difference between Python 3 where the attribute is declared outside and inside the constructor (_init__ method)?Please tell me where Python's documentation is located.class Something: a=&l...

1 years ago

1 answers
433 views
0
html class declaration code question

I'm a coding beginner who just started html. I declared a class and declared a class to put an image on the input column, but it does not apply. It only applies to the wrong code What is the problem?&...

1 years ago

1 answers
373 views
0
Questions about Python class inheritance!

In that code, the Professioner and Student classes are sister classes that belong to the School parent class.I wonder how I can modify the Edison of the Professor class to come out when Jane.matchProf...

1 years ago

1 answers
358 views
0
Python logging library setLevel is not working well

I was lazy to set a daily value by calling the logging library when writing each code, so I made it into a function type. But I set the level to DEBUG, but I don't know what's wrong with the message b...

1 years ago

1 answers
274 views
0
Python Class Method Questions

class JPP: def __init__(self): # Create headless Chrome and specify download folder code self.driver = webdriver.Chrome() # options=self.options # Below is the current time-based -12 hours + 24 hou...

1 years ago

1 answers
491 views
0
The method of the class of the application that I am creating in Typescript does not work as I expected.

For learning, I am creating a chess application that works with a browser using React+Typescript.The movement of a piece was able to move as I expected, but the method I made when I tried to implement...


1 answers
116 views
0
When defining Python class, what is the difference between the presence or absence of parentheses?

I have a question about how to write Python classes.() What is the difference without it?class class name():class class name:

1 years ago

1 answers
75 views
0
What is the difference between an internal class and a static internal class in Java?

What is the main difference between an internal class and a static internal class? Is it just a difference in design design?


1 answers
132 views
0
How to Create an Interface

How do I set up a class that represents the interface?Can I just write an abstract class?

- 1 - »

© 2024 OneMinuteCode. All rights reserved.