ble tag

96 questions


1 answers
85 views
0
Hello, I have a question about the 1D arrangement of mistakes

#include <stdio.h>void main(){ double i, sale[5] = {157, 209, 251, 312, 500}; for (i = 0; i < 5; i++) { printf(\n address:%u sale[%d]=%d, &sale[i], i, sale[i]); }}This... I want to put ...

2 years ago

2 answers
61 views
0
Converting Python strings to variable names

Hello. ^^I was making a programSelf the string delivered as a factor.Can we replace it with a variable?I'm asking this question because I'mFor example, this is the case.def a(self, string) : self.stri...

2 years ago

1 answers
130 views
0
Swap function global variable is not possible

int a,b;void swap(int a, int b);int main(){scanf(%d %d,&a,&b);if(a>b) swap(a,b);printf(%d %d, a,b);for(int i=a;i<=b;i++) printf(%d ,i);}void swap(int a, int b){ int temp; temp=a; a=b; b=...

2 years ago

1 answers
75 views
0
While performing web crawling for data analysis, html is called up, but it is not called by the .select('table') method that I always used.

### Calling Pandas### Include in variable called page url to crawl webimport pandas as pd url = 'https://api.xangle.io/project/exchange/price?lang=ko&currency=krw&page=0&items_per_page=50'...


1 answers
84 views
0
TypeError: 'int' object is not callable error appears

defk(T, n): #rate constants if n == 1: return Kb * T / h * np.exp(-gibbs / (R * T)) elif n == 2: return Kb * T / h * np.exp(-gibbs1 / (R * T))def ktot(T, n): # Total rate constant _t = 0.0 for m in ...


3 answers
122 views
0
Questions about global variables (python)

def print_sum(): a = 100 b = 200 result = a + b Inside print('print_sum() : ', a, ' and', b, 'the sum of ', result, '. ' )a = 10b = 20print_sum()result = a + bPrint ('print_sum() External: ', a, 'and'...

2 years ago
« - 10 -

© 2024 OneMinuteCode. All rights reserved.