57 questions
There is a round() function, but why is there no ceil() function? ㅜ??round(2.3)If you do this, you get 2.0, but I want to get 3. int(number + 0.5)I've tried it, but I'm going crazy because it's also l...
Hello, I'm a newbie learning PythonI was studying by myself while buying a Python book, but I kept getting an error, so I'm going to askAs the title says, add 1 to N, but I copied it exactly the same ...
How can I print out the xml beautifully?There is an xml file like this<foo> <bar> <type foobar=1/> <type foobar=2/> </bar></foo>When running Python code import xml....
The expression range of int is from -2147483648 to 2147483647.So inti = 2147483648; and then in Eclipse, you get a red underline for 2147483648.inti = 1024 * 1024 * 1024 * 1024; this compiles well.pub...
printf(hello\%); //not like thisIf I use a backslash, it's too hard to see when there are too many special characters, so I want to know another way.I get the same result as that code, but is there a ...
I read about the difference between float and doubleMost of the time, they seem to produce the same resultsBut when I solve the problem of floating point calculation,When I use my computer, I use 10 c...
Hi, how are you?There was a problem I didn't know while solving SW Expert Academy question 3750 I couldn't find a solution even if I googled, so I asked this question.The problem is that the unauthori...
It works well if you run it on the jupyter like that, but if you make .exe with the same code, the print('@', end=') doesn't work I don't get an error and I'm just not doing anything. Why is this happ...
int main(){ void pid_sort(struct id[], int); void pid_print(struct id[], int); struct student stu[3]; int count; int i; printf (Enter 3 student information); for (i = 0; i < 3; i++) { printf (Name...
I'm going to create a project where I search all the subfolder files and make them into filesThe value comes out well if you print it, but when I added it to the list by append and returned the list, ...
« | - 5 - | » |
© 2024 OneMinuteCode. All rights reserved.