예제 #1
0
 def anderstand_numbers_within_5_5(self,
                                   num_max,
                                   url_name1,
                                   url_name2,
                                   json_path,
                                   creat_json=False,
                                   json_name=None):
     nums = CreatNumbers(num_max).creatCompareNumbers20()
     imgs = CreatImgs().creatImgs4()
     questions_all = CreatQuestionUnit1.AnderstandNumbersWithin5(
         nums).anderstand_numbers_within_5_5(imgs)
     if creat_json:
         CreatDatas(questions_all).creatJson(json_path, json_name)
     CreatDatas(questions_all).creatUrl(url_name1, url_name2)
예제 #2
0
 def sort_numbers_within_10_8(self,
                              num_max,
                              url_name1,
                              url_name2,
                              json_path,
                              creat_json=False,
                              json_name=None):
     nums = CreatNumbers(num_max).creatNumbersWithinTen10()
     imgs = CreatImgs().creatImgs12()
     questions_all = CreatQuestionUnit1.SortNumbersWithin10(
         nums).sort_numbers_within_10_8(imgs)
     if creat_json:
         CreatDatas(questions_all).creatJson(json_path, json_name)
     CreatDatas(questions_all).creatUrl(url_name1, url_name2)
예제 #3
0
 def comb_sep_within_5_4(self,
                         num_max,
                         url_name1,
                         url_name2,
                         json_path,
                         creat_json=False,
                         json_name=None):
     nums = CreatNumbers(num_max).creatCompareNumbers18()
     imgs = CreatImgs().creatImgs2()
     questions_all = CreatQuestionUnit1.CombSepWithin5(
         nums).comb_sep_within_5_4(imgs)
     if creat_json:
         CreatDatas(questions_all).creatJson(json_path, json_name)
     CreatDatas(questions_all).creatUrl(url_name1, url_name2)
예제 #4
0
 def anderstand_0_2(self,
                    num_max,
                    url_name1,
                    url_name2,
                    json_path,
                    creat_json=False,
                    json_name=None):
     nums = CreatNumbers(num_max).creatCompareNumbers19()
     imgs = CreatImgs().creatImgs2()
     questions_all = CreatQuestionUnit1.Anderstand0(nums).anderstand_0_2(
         imgs)
     if creat_json:
         CreatDatas(questions_all).creatJson(json_path, json_name)
     CreatDatas(questions_all).creatUrl(url_name1, url_name2)
예제 #5
0
 def sort_numbers_within_5_2_2(self,
                               num_max,
                               url_name1,
                               url_name2,
                               json_path,
                               creat_json=False,
                               json_name=None):
     nums = CreatNumbers(num_max).creatCompareNumbers5()
     imgs = CreatImgs().creatImgs4()
     questions_all = CreatQuestionUnit1.SortNumbersWithin5(
         nums).sort_numbers_within_5_2_2(imgs)
     if creat_json:
         CreatDatas(questions_all).creatJson(json_path, json_name)
     CreatDatas(questions_all).creatUrl(url_name1, url_name2)