cara membuat angka acak antara 1 dan 10 dalam python
smallest = 0
largest = 100
random_number = random.randint(smallest, largest - 1)
Helpful Hare
smallest = 0
largest = 100
random_number = random.randint(smallest, largest - 1)
A=[10,20,15,9,6]
A=[0]*i
for i in A:
if 0<i and i<=10:
A=i/2
print(A[i])