78 questions
For example,Assuming that the functions draw_nose and draw_eye are defined drawing = { 'nose' : draw_nose, 'eye' : draw_eye}Define a drawing dictionary and If I enter the key value of the dictionary, ...
I'm a beginner at Python.On the left, we specified the f function in the main If you run the main function, the f function also runs.Let's define the f function separately like the rightRunning the ma...
Hello. I use the Python cord for jjamppong, but if one works, one doesn't work... I don't know what the problem is.I don't really know Python, so I'll look for a lot of things and order jjamppongWhen ...
void insert (int a, int b[], int index) { b[index] =a;}void insert (char a, char b, int index) { *(b+index) = a;}The goal is to make these two functions generalized generic functions, but I don't unde...
def show_df (column, new_columns = ['distinguished'], dataframe = one): df = dataframe[column].value_counts().reset_index() new_names = new_colnames new_names.append('counts') df.columns = new_names d...
def list_L(A,B): d=[] for i in range(A): C=B.count(A[i]) d.append(C) k=d.count(0) return True else: return FalseA=[int(x) for x in input(enter list1 elements:).split()]B=[int(x) for x in input(en...
Original manually manipulated function df2 = df1.withColumn(test1, col(data.test1))\ .withColumn(test2, col(data.test2))\ .withColumn(test3, col(data.test3))\ .withColumn(test4, col(data.test4))\ ...
#include <iostream> using namespace std;int getsum(int);int main() { int num, sum; cin >> num; sum = getsum(num); cout << sum << sum << endl;}int getsum(int value) { int...
#include <iostream>using namespace std;int sum(int a, int b){ return a + b;}int main() { int a , b; int sum = sum(5,6); cout << sum;}There's an error. Can't the variable name in the main f...
We created a function that calls api and saves it in dataframe format as follows:I want to save the returned df value somewhere else and use it when creating another function.What's the way? I don't w...
« | - 6 - | » |
751 Error in x, y, and format string must not be None
768 GDB gets version error when attempting to debug with the Presense SDK (IDE)
1225 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
845 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2025 OneMinuteCode. All rights reserved.