Posts by AlanCVL • 44 points
4 posts
-
0
votes1
answer50
viewsQ: `<=': comparison of Integer with String failed (Argumenterror)
I want to know the age, then I made the following code: nascimento = "12/34/5678" dia = nascimento[0,2] mes = nascimento[3,2] ano = nascimento[6,4] dia.to_i mes.to_i ano.to_i age = 2020 - 2000 #ano…
-
2
votes1
answer91
viewsQ: What’s the difference between SEQ and FOR I IN in shell script
I started studying shell script recently and gave me 2 examples, and I would like to know the difference of the commands, when it is better to use one or the other. The example was seq 1 5| and the…
-
-1
votes1
answer657
viewsQ: Javascript Console.log (beginner)
Hello, I started yesterday to study Js, one of the challenges of Rockseat about Js is to give console.log() and give as a result: "Rua dos Pinheiros". But because it is a string q pull of a variable…
-
1
votes1
answer61
viewsA: Python INPUT command trims in the OUTPUT tab
I’ve been through the same problem, has a way that works but is not ideal believe. Note that at the top of the VS has the tab 'DEBUG', click on it. Open a window with some possibilities, click on…