girinovey

countries.py

Dec 10th, 2022
887
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.71 KB | Source Code | 0 0
  1. countries = [
  2. 'Afghanistan',
  3. 'Albania',
  4. 'Algeria',
  5. 'Andorra',
  6. 'Angola',
  7. 'Antigua and Barbuda',
  8. 'Argentina',
  9. 'Armenia',
  10. 'Australia',
  11. 'Austria',
  12. 'Azerbaijan',
  13. 'The Bahamas',
  14. 'Bahrain',
  15. 'Bangladesh',
  16. 'Barbados',
  17. 'Belarus',
  18. 'Belgium',
  19. 'Belize',
  20. 'Benin',
  21. 'Bhutan',
  22. 'Bolivia',
  23. 'Bosnia and Herzegovina',
  24. 'Botswana',
  25. 'Brazil',
  26. 'Brunei',
  27. 'Bulgaria',
  28. 'Burkina Faso',
  29. 'Burundi',
  30. 'Cabo Verde',
  31. 'Cambodia',
  32. 'Cameroon',
  33. 'Canada',
  34. 'Central African Republic',
  35. 'Chad',
  36. 'Chile',
  37. 'China',
  38. 'Colombia',
  39. 'Comoros',
  40. 'Congo, Democratic Republic of the',
  41. 'Congo, Republic of the',
  42. 'Congo',
  43. 'Costa Rica',
  44. 'Côte d Ivoire',
  45. 'Croatia',
  46. 'Cuba',
  47. 'Cyprus',
  48. 'Czech Republic',
  49. 'Denmark',
  50. 'Djibouti',
  51. 'Dominica',
  52. 'Dominican Republic',
  53. 'East Timor', '(Timor-Leste)',
  54. 'Ecuador',
  55. 'Egypt',
  56. 'El Salvador',
  57. 'Equatorial Guinea',
  58. 'Eritrea',
  59. 'Estonia',
  60. 'Eswatini',
  61. 'Ethiopia',
  62. 'Fiji',
  63. 'Finland',
  64. 'France',
  65. 'Gabon',
  66. 'The Gambia',
  67. 'Georgia',
  68. 'Germany',
  69. 'Ghana',
  70. 'Greece',
  71. 'Grenada',
  72. 'Guatemala',
  73. 'Guinea',
  74. 'Guinea-Bissau',
  75. 'Guyana',
  76. 'Haiti',
  77. 'Honduras',
  78. 'Hungary',
  79. 'Iceland',
  80. 'India',
  81. 'Indonesia',
  82. 'Iran',
  83. 'Iraq',
  84. 'Ireland',
  85. 'Israel',
  86. 'Italy',
  87. 'Jamaica',
  88. 'Japan',
  89. 'Jordan',
  90. 'Kazakhstan',
  91. 'Kenya',
  92. 'Kiribati',
  93. 'Korea, North',
  94. 'Korea, South',
  95. 'Korea',
  96. 'Kosovo',
  97. 'Kuwait',
  98. 'Kyrgyzstan',
  99. 'Laos',
  100. 'Latvia',
  101. 'Lebanon',
  102. 'Lesotho',
  103. 'Liberia',
  104. 'Libya',
  105. 'Liechtenstein',
  106. 'Lithuania',
  107. 'Luxembourg',
  108. 'Madagascar',
  109. 'Malawi',
  110. 'Malaysia',
  111. 'Maldives',
  112. 'Mali',
  113. 'Malta',
  114. 'Marshall Islands',
  115. 'Mauritania',
  116. 'Mauritius',
  117. 'Mexico',
  118. 'Micronesia, Federated States of',
  119. 'Micronesia',
  120. 'Moldova',
  121. 'Monaco',
  122. 'Mongolia',
  123. 'Montenegro',
  124. 'Morocco',
  125. 'Mozambique',
  126. 'Myanmar', '(Burma)',
  127. 'Namibia',
  128. 'Nauru',
  129. 'Nepal',
  130. 'Netherlands',
  131. 'New Zealand',
  132. 'Nicaragua',
  133. 'Niger',
  134. 'Nigeria',
  135. 'North Macedonia',
  136. 'Norway',
  137. 'Oman',
  138. 'Pakistan',
  139. 'Palau',
  140. 'Panama',
  141. 'Papua New Guinea',
  142. 'Paraguay',
  143. 'Peru',
  144. 'Philippines',
  145. 'Poland',
  146. 'Portugal',
  147. 'Qatar',
  148. 'Romania',
  149. 'Russia',
  150. 'Rwanda',
  151. 'Saint Kitts and Nevis',
  152. 'Saint Lucia',
  153. 'Saint Vincent and the Grenadines',
  154. 'Samoa',
  155. 'San Marino',
  156. 'Sao Tome and Principe',
  157. 'Saudi Arabia',
  158. 'Senegal',
  159. 'Serbia',
  160. 'Seychelles',
  161. 'Sierra Leone',
  162. 'Singapore',
  163. 'Slovakia',
  164. 'Slovenia',
  165. 'Solomon Islands',
  166. 'Somalia',
  167. 'South Africa',
  168. 'Spain',
  169. 'Sri Lanka',
  170. 'Sudan',
  171. 'Sudan, South',
  172. 'Suriname',
  173. 'Sweden',
  174. 'Switzerland',
  175. 'Syria',
  176. 'Taiwan',
  177. 'Tajikistan',
  178. 'Tanzania',
  179. 'Thailand',
  180. 'Togo',
  181. 'Tonga',
  182. 'Trinidad and Tobago',
  183. 'Tunisia',
  184. 'Turkey',
  185. 'Turkmenistan',
  186. 'Tuvalu',
  187. 'Uganda',
  188. 'Ukraine',
  189. 'United Arab Emirates',
  190. 'United Kingdom',
  191. 'United States',
  192. 'Uruguay',
  193. 'Uzbekistan',
  194. 'Vanuatu',
  195. 'Vatican City',
  196. 'Venezuela',
  197. 'Vietnam',
  198. 'Yemen',
  199. 'Zambia',
  200. 'Zimbabwe']
  201.  
  202. letters="qwertyuiop, ()-ô'"
  203.  
  204. for i in countries:
  205.     good = True
  206.     for j in i:
  207.         if not j.lower() in letters.lower():
  208.             good = False
  209.             break;
  210.     if good:
  211.         print(i)
  212.  
Advertisement
Add Comment
Please, Sign In to add comment