<prompt> Theha tšebetso ho bala karo-karolelano ha u fuoa lintlha tse pelibophara 400, bophahamo 600  <response>: Instruction in English: Create a function to calculate aspect ratio given two inputs . Response in English: Sure! Here is a function that calculates the aspect ratio of an image or display, given its width and height measurements. pythondef calculate_aspect_ratiowidth, height: from fractions import Fraction finds the greatest common divisor using the Euclidean Algorithm gcd lambda a, b: a if b 0 else gcdb, ab divisor gcdwidth, height x, y width divisor, height divisor checks for empty height or width if not height or not width: raise ValueErrorHeight and width must be non-zero else: aspect_ratio Fractionx, y return aspect_ratioHere is an example usage of the function with your provided input:aspect_ratio calculate_aspect_ratio400, 600printaspect_ratio 23 . Response in Sesotho: Ehlile! Mona ke tsebetso e balang sekhahla sa setšoantšo kapa pontšo, ho latela litekanyo tsa bophara le bophahamo. python def count_aspect_ratiobophara, bophahamo: ho tsoa ho likaroloana tsa thepa Froction e fumana karohano e kholo ka ho fetisisa e tloaelehileng ho sebelisoa Euclidean Algorithm gcd lambda a, b: a if b 0 gcdb, ab divisor gcdbophara, bophahamo x, y bophara karohano, bophahamo divisor e hlahloba bophahamo bo se nang letho kapa bophara haeba e se bophahamo kapa e se bophara: phahamisa ValueErrorBophahamo le bophara e tlameha ho se be zero tse ling: aspect_ratio Karolox, y karolo_karolelano ea ho khutlisa Ona ke mohlala oa tšebeliso ea mosebetsi oo u faneng ka oona: aspect_ratio count_aspect_ratio400, 600 printaspect_ratio 23 