Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "data": {
- "pre_test": [
- {
- "id": 32,
- "title": "Pretest for python",
- "summary": "Pretest for python",
- "type_question": "select",
- "questions": [
- {
- "id": 38,
- "items": [
- {
- "name": "sort"
- },
- {
- "name": "sorted"
- },
- {
- "name": "order"
- }
- ],
- "question": "Which of the following is an example of a Python built-in function for sorting a list?"
- },
- {
- "id": 39,
- "items": [
- {
- "name": "String"
- },
- {
- "name": "Dictionary"
- },
- {
- "name": "List"
- }
- ],
- "question": "Which of the following is a built-in data type in Python?"
- },
- {
- "id": 40,
- "items": [
- {
- "name": "Paris"
- },
- {
- "name": "Londonn"
- },
- {
- "name": "Us"
- }
- ],
- "question": "What is the capital of France?"
- }
- ]
- }
- ],
- "session": [
- {
- "id": 2,
- "course": 1,
- "name": "Chapter 1",
- "lessons": [
- {
- "id": 51,
- "name": "Python Basic",
- "video_source": "Other resource",
- "video": {
- "id": 30,
- "file_path": "http://localhost:8000/media/file_content/How_to_Learn_Python_FAST_with_ChatGPT_.mp4",
- "file": "/media/file_content/How_to_Learn_Python_FAST_with_ChatGPT_.mp4",
- "meta": {
- "duration": 484.65
- }
- },
- "video_url": null,
- "document": null,
- "is_complate": true
- },
- {
- "id": 52,
- "name": "Tips python",
- "video_source": "Other resource",
- "video": {
- "id": 31,
- "file_path": "http://localhost:8000/media/file_content/Advanced_Dictionaries__defaultdict_in_Python.mp4",
- "file": "/media/file_content/Advanced_Dictionaries__defaultdict_in_Python.mp4",
- "meta": {
- "duration": 791.57
- }
- },
- "video_url": null,
- "document": null,
- "is_complate": null
- },
- {
- "id": 54,
- "name": "Python Books",
- "video_source": "Other resource",
- "video": null,
- "video_url": null,
- "document": {
- "id": 13,
- "file_path": "http://localhost:8000/get_pdf/13/",
- "file": "/media/file_content/PythonNotesForProfessionals_1.pdf"
- },
- "is_complate": null
- }
- ],
- "total_video": 2,
- "total_document": 1,
- "quiz": [
- {
- "id": 33,
- "title": "Quiz 1",
- "summary": "Quiz 1",
- "type_question": "select",
- "questions": [
- {
- "id": 41,
- "items": [
- {
- "name": "Python"
- },
- {
- "name": "Html"
- },
- {
- "name": "CSS"
- }
- ],
- "question": "Which of the following is a programming language?"
- },
- {
- "id": 42,
- "items": [
- {
- "name": "a) file = open('data.txt', 'r')"
- },
- {
- "name": "a) file = open('data.txt', 'w')"
- },
- {
- "name": "a) file = open('data.txt', 'x')"
- }
- ],
- "question": "Which of the following is a correct way to open a file named data.txt in Python for writing"
- }
- ]
- }
- ]
- },
- {
- "id": 3,
- "course": 1,
- "name": "Chapter 2",
- "lessons": [
- {
- "id": 55,
- "name": "Document",
- "video_source": "Other resource",
- "video": null,
- "video_url": null,
- "document": {
- "id": 13,
- "file_path": "http://localhost:8000/get_pdf/13/",
- "file": "/media/file_content/PythonNotesForProfessionals_1.pdf"
- },
- "is_complate": null
- }
- ],
- "total_video": 0,
- "total_document": 1,
- "quiz": [
- {
- "id": 34,
- "title": "Quiz 2",
- "summary": "Quiz 2",
- "type_question": "select",
- "questions": [
- {
- "id": 43,
- "items": [
- {
- "name": "a) file = open('data.txt', 'r')"
- },
- {
- "name": "a) file = open('data.txt', 'w')"
- },
- {
- "name": "a) file = open('data.txt', 'x')"
- }
- ],
- "question": "Which of the following is a correct way to open a file named data.txt in Python for writing"
- }
- ]
- }
- ]
- },
- {
- "id": 53,
- "course": 1,
- "name": "Chapter 3",
- "lessons": [],
- "total_video": 0,
- "total_document": 0,
- "quiz": [
- {
- "id": 35,
- "title": "FInal test",
- "summary": "final test",
- "type_question": "select",
- "questions": [
- {
- "id": 44,
- "items": [
- {
- "name": "a) file = open('data.txt', 'r')"
- },
- {
- "name": "a) file = open('data.txt', 'w')"
- },
- {
- "name": "a) file = open('data.txt', 'x')"
- }
- ],
- "question": "Which of the following is a correct way to open a file named data.txt in Python for writing"
- }
- ]
- }
- ]
- }
- ],
- "fina_test": [
- {
- "id": 35,
- "title": "FInal test",
- "summary": "final test",
- "type_question": "select",
- "questions": [
- {
- "id": 44,
- "items": [
- {
- "name": "a) file = open('data.txt', 'r')"
- },
- {
- "name": "a) file = open('data.txt', 'w')"
- },
- {
- "name": "a) file = open('data.txt', 'x')"
- }
- ],
- "question": "Which of the following is a correct way to open a file named data.txt in Python for writing"
- }
- ]
- }
- ]
- },
- "message": "Success",
- "status": 200,
- "success": true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement