June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
18
Task/Semordnilap/Stata/semordnilap.stata
Normal file
18
Task/Semordnilap/Stata/semordnilap.stata
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
set seed 17760704
|
||||
import delimited http://www.puzzlers.org/pub/wordlists/unixdict.txt, clear
|
||||
save temp, replace
|
||||
replace v1=strreverse(v1)
|
||||
merge 1:1 v1 using temp, nogen keep(3)
|
||||
drop if v1>=strreverse(v1)
|
||||
count
|
||||
158
|
||||
sample 5, count
|
||||
gen v2=strreverse(v1)
|
||||
list, noheader noobs
|
||||
+-------------+
|
||||
| evil live |
|
||||
| pat tap |
|
||||
| at ta |
|
||||
| nit tin |
|
||||
| ku uk |
|
||||
+-------------+
|
||||
Loading…
Add table
Add a link
Reference in a new issue