fork download
  1. math.randomseed(os.time())
  2. out = ""
  3. for i = 0,10 do
  4. for j = 0,10 do
  5. r = math.floor(math.random(0,2))
  6. if r==0 then
  7. out = out.." "
  8. elseif r==1 then
  9. out = out.."#"
  10. end
  11. end
  12. print(out)
  13. out = ""
  14. end
Success #stdin #stdout 0s 2788KB
stdin
Standard input is empty
stdout
  ### 
#######  
##   
  ####
# ### 
 #  
    ### 
 ## #  
  ### #
### #  
##  # #