Posts by Ricardo JM Sistemas • 11 points
6 posts
-
0
votes1
answer20
viewsQ: I need to create a sequence of equal numbers within two columns in the bank
Hello guys I’m new with mysql code manipulation, I need to help to create a numerical sequence in the registration and registration columns, note: the records have to be equal in both columns! Note:…
-
-2
votes6
answers444
viewsA: Counting multiples of an integer is giving very different values than expected
print('-=-'*20) print('Multiplos de 3.') print('-=-'*20) n1 = int(input()) n2 = int(input()) cont = 0 for c in range(n1,n2): if c % n1 ==0: cont = + 1 print(f'O numero {n1} tem {count} multiplos…
-
-5
votes1
answer174
viewsQ: SED USE WITH A VARIABLE
I need to configure two files. sh, the first sshpasssrv.sh file will be responsible for filling in the second file that will be sshpass.sh, the first file when executed, will ask for the ip, then it…
linuxasked Ricardo JM Sistemas 11 -
1
votes1
answer94
viewsQ: How to create a sequence of files whose names come from a numerical sequence with predetermined intervals?
I need to create a sequence of files. Ex :1.log, 2.log, 3.log, 4.log and so on. I need to define the initial value and the final value, then it creates for me inside the desired folder. Below is the…
shell-scriptasked Ricardo JM Sistemas 11 -
-1
votes1
answer115
viewsQ: Error in the self.bntInsert["command"] = self command
Hello guys as I am new in python need a help in this code this with the following error File "/root/Pycharmprojects/Sistemavenda/venv/App.py", line 113 self.bntInsert["command"] =…
-
0
votes2
answers848
viewsQ: Problem with balance of parentheses, in Python
Galera to with the following code: exp = str(input('Digite a expressão: ')) pilha = [] for simb in exp: if simb == '(': pilha.append('(') elif simb == ')': if len(pilha) > 0: pilha.pop() else: if…