<prompt> Saffisaa fi itti fayyadama salphaa akka tauuf koodii armaan gadii refactor gochuu.def check_primenum: nf range2, num: yoo num n 0: Soba deebisa Dhugaa deebisi  <response>: def check_primelakkoofsa: yoo num 2: Soba deebisa nf hanga2, intlakkoofsa 0.5 1: yoo num n 0: Soba deebisa Dhugaa deebisi 