<jupyter_start><jupyter_text>Quiz 1 : Sifat ListJawab Pertanyaan di bawah ini :Jenis data apa saja yang bisa ada di dalam List?  list, ada numerik, string, boolean, dan sebagainya Quiz 2 : Akses ListLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>a = ['1', '13b', 'aa1', 1.32, 22.1, 2.34]
# slicing list
print(a[1:5])<jupyter_output>['13b', 'aa1', 1.32, 22.1]<jupyter_text>Expected Output :[ '13b', 'aa1', 1.32, 22.1 ] Quiz 3 : Nested ListLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>a = [1.32, 22.1, 2.34]
b = ['1', '13b', 'aa1']
c = [3, 40, 100]
# combine list
d = [a, c, b]
print(d)<jupyter_output>[[1.32, 22.1, 2.34], [3, 40, 100], ['1', '13b', 'aa1']]<jupyter_text>Expected Output :[ [1.32, 22.1, 2.34], [3, 40, 100], ['1', '13b', 'aa1'] ] Quiz 4 : Akses Nested ListLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>a = [
    [5, 9, 8],
    [0, 0, 6]
    ]
# subsetting list
print(a[1][1:3])<jupyter_output>[0, 6]<jupyter_text>Expected Output :[0, 6] Quiz 5 : Built in Function ListLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>p = [0, 5, 2, 10, 4, 9]
# ordered list
print(sorted(p, reverse=False))
# get max value of list
print(max(p))<jupyter_output>[0, 2, 4, 5, 9, 10]
10<jupyter_text>Expected Output :[0, 2, 4, 5, 9, 10]10 Quiz 6 : List OperationLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>a = [1, 3, 5]
b = [5, 1, 3]
# combine list
c = b + a
print(c)<jupyter_output>[5, 1, 3, 1, 3, 5]<jupyter_text>Expected Output :[5, 1, 3, 1, 3, 5] Quiz 7 : List ManipulationLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>a = [
    [5, 9, 8],
    [0, 0, 6]
    ]
# change list value
a[0][2] = 10
# change list value
a[1][0] = 11
print(a)<jupyter_output>[[5, 9, 10], [11, 0, 6]]<jupyter_text>Expected Output :[ [5, 9, 10], [11, 0, 6] ] Quiz 8 : Delete Element ListLengkapi kode untuk menghasilkan suatu output yang di harapkan<jupyter_code>areas = ["hallway", 11.25, "kitchen", 18.0,
        "chill zone", 20.0, "bedroom", 10.75,
         "bathroom", 10.50, "poolhouse", 24.5,
         "garage", 15.45]

# Hilangkan elemen yang bernilai "bathroom" dan 10.50 dalam satu statement code
del(areas[8], areas[8])
print(areas)<jupyter_output>['hallway', 11.25, 'kitchen', 18.0, 'chill zone', 20.0, 'bedroom', 10.75, 'poolhouse', 24.5, 'garage', 15.45]<jupyter_text>Expected Output :['hallway', 11.25, 'kitchen', 18.0, 'chill zone', 20.0, 'bedroom', 10.75, 'poolhouse', 24.5, 'garage', 15.45]<jupyter_code><jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17275875336667948, 'fraction_numerical': 0.09888418622547133, 'mean_word_length': 4.8165548098434, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '8', 'dir': 'jupyter-structured-clean-dedup', 'id': '668113', 'license': 'MIT', 'n_tokens_mistral': 1331, 'n_tokens_neox': 1143, 'n_words': 317, 'path': 'Learn/Week 1 Basic Python/Week_1_Day_2.ipynb', 'repo_name': 'mazharrasyad/Data-Science-SanberCode', 'size': '2599'}