Skip to content

Instantly share code, notes, and snippets.

@ferdi2005
Created June 4, 2020 09:43
Show Gist options
  • Save ferdi2005/64b968a5cf559638ae6bb0f865dad5a1 to your computer and use it in GitHub Desktop.
Save ferdi2005/64b968a5cf559638ae6bb0f865dad5a1 to your computer and use it in GitHub Desktop.
Chi dovrà fare la wiki?
persone = "Ferdinando Traversa
Valerio Bozzolan
Francisco Ardini
Federico Massi
Roberto Guido
WebEngineer
Pierpaolo
Pellegrino Prevete
Dario Crespi
Lou Marsicano
Cristian Consonni
Marco Chemello
Marta Cecilia Pigazzini
Iolanda Pensa
Frankee Even
Rosario Antoci"
wiki ="Wikimedia Commons
Wikibooks
Wikidata
Wikinotizie
Wikiquote
Wikisource
Wikiversità
Wikivoyage
Wikizionario
Wikipedia"
wiki = wiki.split("\n")
persone = persone.split("\n")
wiki.count.times do
pers = persone.sample
mywiki = wiki.sample
persone.delete(pers)
wiki.delete(mywiki)
puts("#{pers.strip} fa #{mywiki.strip}")
end
puts("Brian Sciretti fa Wikipedia in lombardo")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment