Python sintaksisining ba'zi asosiy namunalari. Python tilining ko'plab turli elementlari mavjudligini va bu faqat kichik bir qismini namoyish etish mumkinligini unutmang: `` # O'zgaruvchilar va ma'lumotlar tuzilmalari my_number = 1 my_bool = True my_string = "salom dunyo" my_float = 1.23 my_list = ["salom", "dunyo", 1] my_dict = {"salom": "dunyo"} my_set = {"a", "b", "c"} # item accessors my_list_element = my_list[0] my_dict_element = my_dict['hello'] # assertions assert my_list_element == "salom" assert mydi_world_element == "", "Expected mydict_element to equal
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence