<prompt> Sagantaa taphataa namaa irratti tic-tac-toe taphachuu dandau uumuu.nan  <response>: Kunoo sagantaa Tic-Tac-Toe Paayitoon keessatti taphattuu namaa AI irratti akka taphatu hayyamu: python import random def print_boardboard: for row in board: print .joinrow def make_moveboard, player, x, y: if boardxy ! : return False boardxy taphataan deebisa Dhugaa def has_winnerboard: Tarreewwan tarree gabatee keessa jiran ilaali : yoo tarree0 tarree1 tarree2 fi tarree0 ! : tarree0 deebisi Tarjaawwan kolf hanga3 keessatti ilaali: yoo gabatee0 kol gabatee1kool gabatee2kool fi gabatee0koolii ! : gabatee0kool deebisi Yoo gabatee0 0 gabatee11 gabatee22 fi gabatee00 ! : gabatee00 deebisa yoo gabatee02 gabatee11 gabatee20 fi gabatee02 ! : gabatee deebisuu02 Moataan hin deebiu Tokkollee hin jiru def make_ai_moveboordii, ai_player : AI xf daangaa3 keessatti moachuu dandauu isaa mirkaneessi: yf daangaa3 keessatti: yoo boordiixy : gabateexy ai_player yoo_moataaboordii qabaate. ai_player: return boardxy Taphataan moachuu dandauu isaa mirkaneessi fi taphataa ugguruu X yoo ai_player O yoo tae O xf daangaa3: y in.f daangaa3: yoo gabateexy : gabateexy taphataa yoo_moataaboordii taphataa: gabateexy ai_taphataan gabatee deebisuux. y Sochii tasaa godhi available_moves x, y x dhaaf daangaa3 y dhaaf daangaa3 keessatti yoo boardxy x, y akka carraa 