variable tag

41 questions


1 answers
89 views
0
Open a web page when you click [Cotlin] and insert a page address variable

I'm a beginner at Cotlin.I'm currently using gson in the Cotlin projectGetting the data from the DB server was successfulI checked that it appears as a text in the Recycler view.What I want to do is t...


1 answers
89 views
0
cLanguage)Ask global variables.

void set(int h, int m);int h,m,;int main(void){ set(h,m); printf(%d%d, h,m);}void set(int h, int m){ printf (Enter the first hour (24 hours): ); scanf(%d%d, &h, &m); }I'd like to initialize th...

2 years ago

1 answers
124 views
0
About using and updating Python global variables

from settiing import *from boy import *def start(): value = web() // Import data from the web (value=[4,5,6]) gosetting(value) goBoy()a = 1b = 2c = 3def goSetting(value): global a global b globa...

2 years ago

1 answers
105 views
0
I'm asking you about the execution of other functions in the main function

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...


1 answers
74 views
0
After declaring several empty lists, I want to put proper values in the empty list according to the conditions

JNA = []KAL = []AAR = []JJA = []ABL = []TWB = []ASV = []airlines = ['lj-jna', 'ke-kal', 'oz-aar', '7c-jja', 'bx-abl', 'tw-twb', 'rs-asv']for i in airlines: driver.get('https://www.flightradar24.com/da...


1 answers
61 views
0
C/C++ variable initialization process question

#include <iostream>using namespace std;int main() { int num1, num2; // variable to store two digits from the user inti; // variables for repetition int oddSum = 0; // Variable to store odd sum e...


2 answers
104 views
0
I want to use Python instance as a variable in the method.

If you answer my question, I will never forget this kindness.My question is, to sum up,I want to use the instance as a variable in the method.For example, class Marine: def __init__(self): self.healt...


1 answers
49 views
0
I want to know how discord.py can store users in variables

I want to make a game with discode bot+ Participation saves the user in the variable p1 I want to make the user save in the variable p2 when I type + Participation 2.How can I store users in variables...

2 years ago

2 answers
60 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
129 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
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.