Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Game Members gaming responsibilities and duties
- # takes font from two text files then reads and then writes to a json file
- # python3 members.py
- # Python program to
- # demonstrate merging of
- # two files
- import random
- with open("file1.txt") as f1, open("file2.txt") as f2, open("saveduties.json", "w") as f3:
- for x, y in zip(f1, f2):
- f3.write(x.strip() + " " + y.strip() + '\n')
- #file1.txt
- EmotionalDamage
- ShrekDaFknBoss
- RobinWee
- proxywar
- Lendice
- MikasSa
- arowak
- CamCam17
- DaphneStorm
- Prostar190
- vivor04ea6128
- WilkyBMF
- PPKR55
- WorldInYourHand
- Zalbert
- Dunca
- Hunzor1986
- Jonell
- LastForest
- TedNugget
- Mazha05
- Autolike
- Misteroic
- Dark_Forces
- Dogdoc14
- Zixxzy
- DeezeNutz247
- Backabezo
- Magz007
- -Wolf-
- Shea_
- OhmyDog
- xDDD_tm
- BuluBebek
- BeeKay
- Shawks13
- CemetaryGates
- 2Abcdulhamid
- Gaurie
- KuramaYusuke
- Mteles
- Mnadas
- Stevego
- Prisma
- Caglar82
- Jabzet1
- Monti-Lond
- Tjelta
- CrazyDriver
- kopassus
- SaripDol
- MTJ
- Dextopie007
- Bad_Wolf
- Dcyril13
- Raph22
- BolthorRigby
- Prodigy1914
- Potter
- Christian1984
- YeLay
- Eljaaay
- Magiq
- LeonSicario
- Jo_Ana
- QueenBee3
- Cap_Mifune
- Maverickz
- DeepUnderground
- Raguel
- EaiGusta
- MannyAk
- Rii
- sasamin
- justjess
- Mxra
- Nitin
- Tritan_Liam
- XxMinxX
- JCZone
- YouthL
- fatetulhm214
- Jormundgander
- HUNKriszta
- Tr1gg3rH4ppyBruh
- bispo72
- # file2.txt
- war
- attack and plunder
- attack city
- attack mutants
- guard_garrison
- iron_stone mine for 5 hours
- Rube'ai_Khali
- Kavir
- Damietta
- Game designer
- Game artist
- Sound engineer
- Game programmer
- Game level designer
- Game tester
- Game producer
- spy
- investor
- DEFENDER
- Centre-back
- Full-back
- Full-back (Right-back)
- Full-back (Left-back)
- Winger
- Right Winger
- Left Winger
- Strike Force
- Defensive Measure
- Propagandist
- influencer
- proxy war starter
- hunt
- harrass some random alliance member
- assistant manager
- assitant diplomat
- assistant general secretary
- airbourne
- rescue
- security advisor
- # saves members and their duties here saveduties.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement