Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
contarsucesoresmayores
N=int(input()) while (N <= 0) or (N >= 101): N=int(input()) lista =[] valores=0 for i in range(N): valores = int(input()) lista.append(valores) print('LOS',N,'VALORES LEIDOS FUERON: {', end = '') i=0 while i < len(lista): if i == 0 : print( lista[i], end='') else : print(';', lista[i], end ='' ) i +=1 print('}') listados= [] contador=0 largolista=len(lista) for i in range(largolista): if lista[i]< lista[i+1]: contador += 1 listados.append(contador)
run
|
edit
|
history
|
help
0
quizcorrect
on_off
Юра и заселение
Atur cara mengira luas permukaan dan isipadu sebuah trapezium
Factorial
python, attributes, setter and getter the pythonic way (V2)
Fiboncaci series in recursion
sum of odd numbers
shiva
Find numbers with given sum of digits