Code Snippets Yacc

Short texts Yacc 🧑‍💻 Code snippets Yacc ✍️ Reading lists Yacc 👀

b.y

def post_exam_computation(exam_id): exam_results = db.get(exam_id) max_score = max(exam_results) min_score = min(exam_results) avg_score = sum(exam_results) / len(exam_results) exam_stats = {“max”: max_score, “min”: min_score, “avg”: avg_score} db.save(exam_stats)

uaspabw

exclude_paths: – “documentation/” – “application/language/” # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation # Set default charset [*] charset = utf-8 # Tab indentation (no size specified) indent_style = tab .DS_Store application/cache/* […]

uaspabw

exclude_paths: – “documentation/” – “application/language/” # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation # Set default charset [*] charset = utf-8 # Tab indentation (no size specified) indent_style = tab .DS_Store application/cache/* […]

uaspabw

exclude_paths: – “documentation/” – “application/language/” # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation # Set default charset [*] charset = utf-8 # Tab indentation (no size specified) indent_style = tab .DS_Store application/cache/* […]

uaspabw

exclude_paths: – “documentation/” – “application/language/” # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation # Set default charset [*] charset = utf-8 # Tab indentation (no size specified) indent_style = tab .DS_Store application/cache/* […]