fork download
  1. import random
  2. i=0
  3. while i<5:
  4. c=random.randrange(-10,10)
  5. print(c)
  6. if c>=0:
  7. print (" більше або дорівнює 0")
  8. else:
  9. print("негативне")
  10. i=i+1
Success #stdin #stdout 0.03s 11584KB
stdin
Standard input is empty
stdout
8
 більше або дорівнює 0
-3
негативне
2
 більше або дорівнює 0
-1
негативне
2
 більше або дорівнює 0