-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlanguages.py
More file actions
25 lines (17 loc) · 792 Bytes
/
languages.py
File metadata and controls
25 lines (17 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from enum import Enum
class Languages(Enum):
COFFEESCRIPT = "CoffeeScript"
CSHARP = "CsharpScript"
Color = Enum('Languages', ['COFFEESCRIPT', 'CSHARP'])
choices = [(item.name, item.value) for item in Languages]
print(choices)
languages = ['Select Your Language', 'C', 'Clike', 'CoffeeScript', 'cpp', 'Csharp', 'CSS', 'Dart', 'Django', 'Go',
'HTML', 'Java',
'Javascript', 'JSX', 'Markdown', 'Markup', 'Markup-templating', 'Matlab', 'Mongodb', 'Objective-C',
'Perl', 'PHP', 'Powershell', 'Python', 'R', 'Ruby', 'Rust', 'Sass', 'Scala', 'Scss', 'SQL',
'Swift',
'TSX', 'Typescript']
def get_languages():
language_choices = []
for language in languages:
language_choices.append((language, language))