Questions tagged as 'contador'

1
answer

Resetting the counter every time you change lines

I have the following problem: I have two counters in my code, but I want every time I move to the next line, the contLine1 (second counter) is zeroed and start counting again, remembering that there are 32 columns when it comes back to 1 of the...
asked by 15.09.2017 / 20:01
3
answers

Numerical counter

I'm making a control page for input and output of company equipment. I am using Boostrap as a framework, you could inform me how I do an accountant to manage the OS number. Or some help link on the internet, video, etc. I imagine that with JQue...
asked by 24.09.2015 / 17:50
2
answers

Count vowels and know how many there are

Good! I want to create a function that would allow me to say if a word or phrase has vowels, and if so, how many vowels it has, but I have 2 problems in my code that I do not understand: def conta_vogais(str): vogais = ['a','e','i','o','u'...
asked by 19.11.2016 / 17:02
1
answer

Numeric Counter

I must create a program that commands a hardware in which I have connected in 3 different ports of the arduino a circuit containing 3 leds. The program should raise these LEDs in binary order. I have two functions ready, the first function...
asked by 24.08.2018 / 00:30
0
answers

Show which slide number is active

I'm making a nail slider that needs to be shown a numbering containing the number of current sliders and which slide number is active <div class="slider-wrapper"> <ul class="slider"> <li class='slider-item'><img src...
asked by 17.06.2018 / 00:35
1
answer

System of registration permission by limit

In my course system, the trainer has to stipulate the number of students who can enroll in each class and the student will only be able to enroll if the number of students enrolled is less than the number stipulated by the trainer. p> For this...
asked by 24.01.2018 / 15:08
2
answers

Strings counter in ArrayList [duplicate]

I need the program to return the amount of times each% of% was repeated within String , but I could not think of a way to have my counter reused for each item, as it shows there at the output, he says that the data 3 repeated 4, 5 and 6...
asked by 30.08.2017 / 19:39
1
answer

How to insert a bookmark that grows numerically in a dataframe in R?

I have a dataframe with a column and a certain number of rows that varies. What I'm working on are 17. In each line there is a different expression, more or less similar to "ID 123456, color = blue". I would like to add to each of the lines a...
asked by 08.05.2017 / 23:48
1
answer

Counting Numbers using Array in C

How to count integers using an array in C in this model: Entry > two strings with "integers" ex: 8 15 Output > A string with range numbers, inclusive: ex: 8 9 10 11 12 13 14 15. Probably a basic question, but I'm a beginner...
asked by 18.10.2016 / 15:58
1
answer

How can I create a form that has a counter and stores the information in bank

I would like some help. I am trying to create a page that calculates the time that the person spends on some tasks that will be available on a form, hence the person selects the task and clicks on start where he begins to calculate the time spen...
asked by 16.03.2016 / 18:41