or tag

453 questions


1 answers
68 views
0
Python def. I have a question

def z(a,b): return a+bDeclare a function in z.py.result = z(3,4)print(result)This code is x.I saved it as py and ran it NameError: name 'z' is not defined why?It's in one space, but I don't know why ...

2 years ago

1 answers
144 views
0
Hello. I have an inquiry about changing the value of Pandas. KeyError

csv = pd.read_csv(bmi.csv)csv.head()I made the data frame as below by making the code as above height weight label0 195 64 thin1 165 58 normal2 130 37 normal3 137 53 fat4 120 40 fatI wanted to ...

2 years ago

1 answers
103 views
0
[Android/Java] Please only import images from specific directories!!

package org.techtown.hello;import android.content.Context;import android.database.Cursor;import android.net.Uri;import android.os.Environment;import android.provider.MediaStore;import android.util.Log...


1 answers
114 views
0
I'm asking you a question!

import java.util.Scanner;public class Pro06 {public static void main(String[] args) { System.out.print(Enter N:); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = N; i<0;i--) ...

2 years ago

1 answers
101 views
0
Is there a way to get the color value of int type from color resource?

Is there a way to get the color value of int type from color resource?

2 years ago

1 answers
96 views
0
What's the difference between new and parentheses?

When you create an instance of the Test class that I define.What's the difference between the two?Is there a difference?


1 answers
81 views
0
Please recommend a plug-in to view directories in the tree structure on emacs.

Is there any plug-in that Emax Tsitsons use to view directories in a tree structure?I think there's something like NeoTree or SpeedBar, but I'd like to hear from those who have used it.https://www.ema...

2 years ago

1 answers
76 views
0
SyntaxError: invalid syntax // basball game is being made, but I don't know if there is a problem with the main function.

def main(): print(Play Baseball)random_number = str(get_not_duplicated_three_digit_number())print(Random Number is : , random_number)user_input = '999'while(get_strikes_or_ball(user_input, random_numb...


1 answers
100 views
0
Shutil and for questions

import globimport shutilimport osimport sysfilename = glob.glob('**/*.jpg', recursive=True)filename = [os.path.basename(name) for name in filename]for name in filename: if not os.path.exists('jpg_file...

2 years ago

1 answers
103 views
0
What do I do if I run it with an Android studio emulator and the lock screen doesn't appear?

When driven, the home screen appears from the beginning without a lock screen.The emulator is NEXUS X5 NOUGAT.

2 years ago
« - 30 - »

© 2024 OneMinuteCode. All rights reserved.