Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Region chooser

import random
Regions = ['Kanto', 'Johto', 'Hoenn', 'Sinnoh', 'Unova', 'Kalos', 'Alola']
Home = random.choice(Regions)
kanto= ['Pallet Town','Viridian City','Pewter City','Cerulean City', 'Vermilion City','Lavender Town','Celedon City','Fuschia City','Saffron City','Cinnabar Island']
Kanto = random.choice(kanto)
johto=['New Bark Town','Cherrygrove City','Violet City','Azalea Town', 'Goldenrod City','Ecruteak City','Olivine City','Cianwood City','Mahogany Town','Blackthorn City','Safari Zone Gate','Frontier Access']
Johto= random.choice(johto)
hoenn=['Littleroot Town', 'Oldale Town','Petalburg City','Rustboro City','Dewford Town','Slateport City','Mauville City','Verdanturf Town','Fallarbor Town','Lavaridge Town','Fortree City','Lillycove City','Mossdeep City','Sootopolis City','Pacifidlog Town','Ever Grande City']
Hoenn= random.choice(hoenn)
sinnoh=['Twinleaf Town','Sandgem Town','Jubilife City','Oreburgh City','Floaroma Town','Eterna City', 'Hearthome City','Solaceon Town','Veilstone City','Pastoria City','Celestic Town','Canalave City','Snowpoint City','Sunyshore City','Pokemon League','Fight Area','Survival Area','Resort Area']
Sinnoh=random.choice(sinnoh)
unova=['Nuvema Town','Accumula Town','Striaton City','Nacrene City','Castelia City','Nimbasa City','Driftveil City','Mistralton City','Icirrus City','Opelucid City','Pokemon League','Lacunosa Town','Undella Town','Black City','White Forest','Anville Town','Aspertia City','Floccesy Town','Virbank City','Lentimas Town','Humilau City']
Unova=random.choice(unova)
kalos=['Vanville Town', 'Ambrette Town','Anistar City','Aquacorde Town','Camphrier Town','Coumarine City','Couriway Town','Cyllage City','Dendemille Town','Geosenge Town','Kiloude City','Laverre City','Lumiose City','Santalune City','Shalour City','Snowbelle City']
Kalos=random.choice(kalos)
alola=['Iki Town','Hau oli City','Heahea City','Paniola Town','Konikoni City','Malie City','Tapu Village','Po Town','Seafolk Village','Pokemon League']
Alola=random.choice(alola)
if Home == 'Kanto' :print  Kanto,',Kanto'
if Home == 'Johto' :print  Johto,',Johto'
if Home == 'Hoenn' :print  Hoenn ,',Hoenn'
if Home == 'Sinnoh':print  Sinnoh ,',Sinnoh'
if Home == 'Unova' :print  Unova,',Unova'
if Home == 'Kalos' :print  Kalos,',Kalos' 
if Home == 'Alola' :print  Alola,',Alola'

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.