𓃠 on Nostr: /run rb list = {} for num in 1..10000 do key = "アツコヒ".chars.shuffle.join if ...
/run rb
list = {}
for num in 1..10000 do
key = "アツコヒ".chars.shuffle.join
if list[key].nil? then
list[key] = 0
end
list[key]+=1
end
puts list.sort_by {|k, v| -v}.inspect
list = {}
for num in 1..10000 do
key = "アツコヒ".chars.shuffle.join
if list[key].nil? then
list[key] = 0
end
list[key]+=1
end
puts list.sort_by {|k, v| -v}.inspect