or tag

453 questions


2 answers
54 views
0
syntaxerror-invalid-syntax-I don't know why it pops up.

This is after installing Python 3 and Atom and Miniconda. An error occurs when I run the Celsius converter program in cmd after writing a function in atom. Is there a problem with the function I wrote...

2 years ago

1 answers
47 views
0
Python stops without any error messages.

If you write the code and run it, it just stops without any error messages.But if you do it 10 times, it's done well about 5 times.If the last 0 remaining output is displayed, it is successful.import ...

2 years ago

2 answers
87 views
0
vim annotates as much as a certain range

I want to know how to annotate as much as a specific range in vim. It's so hard to keep adding # one by one.This isdef my_fun(x, y): return x + yLike this #def my_fun(x, y):# # return x + yYou can use...

2 years ago

1 answers
119 views
0
When you represent transparency in a color representation in hexadecimal,

I'm implementing transparency options on the widget, but the hexadecimal color value is a problem. If you want to give 50% transparency to colors like #33b5e5 in hexadecimal color expression, you can ...


1 answers
154 views
0
I have a question for the creator of Android custom view.

I understand that if you inherit another layout when creating a custom view, you need to implement the creator belowI wonder why the defStyleAttr and defStyleRes parameters are needed and used in what...


1 answers
120 views
0
Android YouTube App Video Play Intent

I created an app that allows you to download YouTube videos from Android. Now what I need is, when I play a video on YouTube, I also download it. To do this, you need to know the Intent that the YouTu...


1 answers
68 views
0
How to Rotate the Android Emulator Screen

Is there a way to view the screen horizontally on the Android emulator?


0 answers
67 views
0
Corinne is right about Python's for repetition and how to use continue... crying

Hello, masters Here's the question! numbers = [ (1,2),(10,0) ] for a,b in numbers: if b == 0: print(It cannot be divided by 0.) continue print({} divided by {} is {}.format(a,b,a/b))Problem: 'The ...

2 years ago

1 answers
80 views
0
Python Module NotFoundError: I have a question about the error No module named

After designing with the designer among anaconda, I saved the ui file in the lib folder and ran it on main.py, and it says there is no module. Why is that?# -*- coding: utf-8 -*-from PyQt5.QtCore impo...

2 years ago

2 answers
153 views
0
How to Use For Statements Using C++ Auto

int * buff = new int[10];for(auto x : buff?? ){ x = 0;}I want to initialize all the buffs that were assigned dynamically to zero, buff?Please tell me how to write down.I tried buff[], buff, etc., but ...

« - 26 - »

© 2024 OneMinuteCode. All rights reserved.