All Questions

19771 questions


1 answers
263 views
0
Python Function Wrap Output

def fruit(*fruits): if apple in fruits : print(RED) print(*fruits) fruit('banana', 'apple', 'mango')In the code that inputs fruits with variable factors and outputs RED if there is an apple during ...

1 years ago

1 answers
433 views
0
How to save data entered in tkinter

I would like to use tkinter in python to save the data I entered or referenced.If you look it up online, there is a way to save it using sql, but is there any other way?What you want to achieveClick o...

1 years ago

1 answers
353 views
0
If grammar is correct, but invaind syntax appears.

I was just playing with Python, but when I tried to branch y/n using the if statement, I got an invite syntax.When I looked up the error online, it said that I forgot to attach a full-width space or c...

1 years ago

1 answers
302 views
0
There is an error saying ArrayIndexOutOfBoundsException. Why is that?

public class Demo { public static void main(String[] args) { String who = args[0]; String what = args[1]; System.out.println(who + likes + what + .); }} Exception in thread main java.lang.ArrayIn...

1 years ago

1 answers
285 views
0
It's about reading Python file names, but I don't think I can even read them

file_name = input (Enter the file name:)word_name = input (Enter an existing word :)new_word_name = input (Enter a new word: )try : with open(file_name, r) as f: lines = f.readline()exceptionExceptio...

1 years ago

1 answers
319 views
0
c Language Suffix Question

int main(void){long long big;big = 700000000 * 700000000;printf(%lld,big);return 0;}I don't know why I have to put the suffix ll after 700000000

c int
1 years ago

1 answers
409 views
0
Questions about advanced usage of string formatting

''' 3x 12-------- 36'''I'm trying to express this expression in code. I've tried the bottom four#try1a=3b=12print('%8d' %a)print('%-6s%-1d'%('x',b))print('--------')print('%8d'%(a*b))#try2a=3b=12pri...

1 years ago

1 answers
297 views
0
Is there a way to automatically generate table definitions on a mac?

Until now, when creating table definitions, after modifying, adding, and deleting tables in the database, Windows automatically generated them using the A5 SQL feature (↓)DB client:A5 SQL automatic ta...

1 years ago

1 answers
376 views
0
I don't know how to look at the terraform version.

I don't know how to view the terraform version.cd/usr/local/Cellar/tfenv/3.0.0/versions can see which version is now local and 3.0.0/versions contains 1.3.2.I thought the terraform version was this 3....

1 years ago

1 answers
310 views
0
Windows Character Code Errors

When the subprocess module retrieves the Windows systeminfo and decodes 'shift-jis', the environment sends an exception.PC1 has an exception: PC2 has been fine in the past.PC2 is fineBy the way, by ch...

« - 95 - »

© 2024 OneMinuteCode. All rights reserved.