如下,使用python列表推导式粘贴到 新建.txt 里面,在开发者工具导入即可即可
print('\n'.join([f'{{"_id":{i}, "num":{i}}}' for i in range(1, 109)]))
{"_id":1, "num":1}
{"_id":2, "num":2}
{"_id":3, "num":3}
{"_id":4, "num":4}
{"_id":5, "num":5}
{"_id":6, "num":6}
{"_id":7, "num":7}
{"_id":8, "num":8}
{"_id":9, "num":9}
{"_id":10, "num":10}
{"_id":11, "num":11}
{"_id":12, "num":12}
{"_id":13, "num":13}
{"_id":14, "num":14}
{"_id":15, "num":15}
{"_id":16, "num":16}
{"_id":17, "num":17}
{"_id":18, "num":18}
{"_id":19, "num":19}
{"_id":20, "num":20}
{"_id":21, "num":21}
{"_id":22, "num":22}
{"_id":23, "num":23}
{"_id":24, "num":24}
{"_id":25, "num":25}
{"_id":26, "num":26}
{"_id":27, "num":27}
{"_id":28, "num":28}
{"_id":29, "num":29}
{"_id":30, "num":30}
{"_id":31, "num":31}
{"_id":32, "num":32}
{"_id":33, "num":33}
{"_id":34, "num":34}
{"_id":35, "num":35}
{"_id":36, "num":36}
{"_id":37, "num":37}
{"_id":38, "num":38}
{"_id":39, "num":39}
{"_id":40, "num":40}
{"_id":41, "num":41}
{"_id":42, "num":42}
{"_id":43, "num":43}
{"_id":44, "num":44}
{"_id":45, "num":45}
{"_id":46, "num":46}
{"_id":47, "num":47}
{"_id":48, "num":48}
{"_id":49, "num":49}
{"_id":50, "num":50}
{"_id":51, "num":51}
{"_id":52, "num":52}
{"_id":53, "num":53}
{"_id":54, "num":54}
{"_id":55, "num":55}
{"_id":56, "num":56}
{"_id":57, "num":57}
{"_id":58, "num":58}
{"_id":59, "num":59}
{"_id":60, "num":60}
{"_id":61, "num":61}
{"_id":62, "num":62}
{"_id":63, "num":63}
{"_id":64, "num":64}
{"_id":65, "num":65}
{"_id":66, "num":66}
{"_id":67, "num":67}
{"_id":68, "num":68}
{"_id":69, "num":69}
{"_id":70, "num":70}
{"_id":71, "num":71}
{"_id":72, "num":72}
{"_id":73, "num":73}
{"_id":74, "num":74}
{"_id":75, "num":75}
{"_id":76, "num":76}
{"_id":77, "num":77}
{"_id":78, "num":78}
{"_id":79, "num":79}
{"_id":80, "num":80}
{"_id":81, "num":81}
{"_id":82, "num":82}
{"_id":83, "num":83}
{"_id":84, "num":84}
{"_id":85, "num":85}
{"_id":86, "num":86}
{"_id":87, "num":87}
{"_id":88, "num":88}
{"_id":89, "num":89}
{"_id":90, "num":90}
{"_id":91, "num":91}
{"_id":92, "num":92}
{"_id":93, "num":93}
{"_id":94, "num":94}
{"_id":95, "num":95}
{"_id":96, "num":96}
{"_id":97, "num":97}
{"_id":98, "num":98}
{"_id":99, "num":99}
{"_id":100, "num":100}
{"_id":101, "num":101}
{"_id":102, "num":102}
{"_id":103, "num":103}
{"_id":104, "num":104}
{"_id":105, "num":105}
{"_id":106, "num":106}
{"_id":107, "num":107}
{"_id":108, "num":108}