I need an advise, what if i have to generate a random vector with values [0:9], of random length between [10:100], and would like to generate a command using for and if, that, given my random vector x, it shows me the amount of times the number 0 has appeared and in wich location. how would that code be? the same using for and while
Thanks
I need an advise, what if i have to generate a random vector with values [0:9], of random length between [10:100], and would like to generate a command using for and if, that, given my random vector x, it shows me the amount of times the number 0 has appeared and in wich location. how would that code be? the same using for and while
why always use print commend..why not something different.
Can u speak slowly? Please