51 questions
Using a generic stack, you are writing a code that converts a median expression to a posterior expression, then outputs an expression, and then outputs an answer, but the expression is still printed d...
Hello.I have a question while working on the Python code, but I'm uploading it here because it's not told in textbooks or lectures. I need your help.As shown below, func1 and func2 are all surrounded ...
Hello, I'm developing a client app.It is developed so that data transmission can be made through a socket connection from an app to a specific server.However, even though the data signal strength and ...
12345678 1 lee1 010-1231-5678 // 11345678 2 lee2 010-1232-5678 ......An example of reading a file with these characters, separating it into objects, and storing them as files.But you have to separate ...
In the case of reducing the exception, it is safe to deal with exceptions.Then should I make an exception by using all those blocks as a try-catch?Doesn't that make the code too messy?
Usually when you make a code, if (someobject != null) { someobject.doCalc(); }They're making exceptions in the same way, but they look so dirty to meIs there a way to make it cleaner?
I just want to ignore some code and keep running if there's an exceptionIn this case, how should I try-except?See if I'm righttry : shutil.rmtree ( path )except : pass
I was developing a simple app with the 4.2.2 version. It worked fine on the device at that time. And stopped developing for almost a monthI recently saw Google I/O and decided to develop it again. And...
You want to compare an array with multiple arraysFor example, A={1,1,1,1}, B={{0,0,0,00},{1,1,1,1},{2,2,2,2},{3,3,3,3},...}, C={10,10,10},{20,20,20},...},D = {},...I want to compare A and B, compare A...
Hello, I'm a student learning Python. I am writing a program that calculates the average by receiving a score from the user.If you add a positive number as user_input, you add it to the list, and if y...
« | - 3 - | » |
© 2024 OneMinuteCode. All rights reserved.