初,武帝咸张骞之言,甘心欲通大宛诸国,使者相望于道,一岁中多至十余辈。楼兰、姑师当道,苦之,攻劫汉使王恢等,又数为匈奴耳目,令其兵遮汉使。汉使多言其国有城邑,兵弱易击。于是武帝遣从票侯赵破奴将属国骑及郡兵数万击姑师。王恢数为楼兰所苦,上令恢佐破奴将兵。破奴与轻骑七百人先至,虏楼兰王遂破姑师,因暴兵威以动乌孙、大宛之属。还,封破奴为浞野侯,恢为浩侯。于是汉列亭障至玉门矣。
楼兰既降服贡献,匈奴闻,发兵击之。于是楼兰遣一子质匈奴,一子质汉。后贰师军击大宛,匈奴欲遮之,贰师兵盛不敢当,即遣骑因楼兰候汉使后过者,欲绝勿通。时汉军正任文将兵屯玉门关,为贰师后距,捕得生口,知状以闻。上诏文便道引兵捕楼兰王。将指阙,簿责王,对曰:“小国在大国间,不两属无以自安。愿徙国入居汉地。”上直其言,遣归国,亦因使候司匈奴。匈奴自是不甚亲信楼兰。
汉朝与西域的关系始于张骞出使西域,开辟了丝绸之路。自此之后,汉朝与西域各国展开了密切的政治、经济和文化交往。
《汉书·传·西域传上》是研究两汉时期西域历史的权威史料。该文献记载了西汉初期至东汉末年,汉朝与西域各国的交往历程。从最初的三十六国,逐渐发展为五十余个国家,这些国家大多分布在匈奴之西和乌孙之南。汉朝对这些西域国家的管理,主要通过设置郡县来实现对西域的控制。汉武帝时期,汉朝在这些地方设立了酒泉郡、张掖郡、敦煌郡等地,有效地加强了对西域的管理。
汉朝为了加强与西域的联系,还派遣使者进行外交往来。例如,在武帝时期,张骞出使西域,开辟了通往西域的道路;而在武帝征伐大宛之后,贰师将军李广利再次出征大宛,进一步巩固了汉朝在西域的地位。这些外交活动不仅促进了汉朝与西域各国的经济文化交流,还增强了双方的政治互信。
汉朝还重视与西域各国的文化交融。汉朝的使者常常将这些国家的特产带回国内,如葡萄、苜蓿、石榴等,这些物品的传入丰富了汉朝的饮食文化。同时,汉朝的文学作品、音乐、舞蹈等文化也传播到了西域,与当地的文化相互融合。这种文化交流对于促进各民族之间的理解和友谊起到了重要作用。
《汉书·传·西域传上》不仅是研究汉朝与西域关系的重要文献,也是了解古代中国与周边国家交往的重要资料。通过对该文献的阅读和理解,我们可以更好地认识古代中国与西域的历史联系,以及汉朝如何通过外交和文化交流来维护国家利益和发展区域合作。}
Given a collection of integers, you can define a function in Python. Here is a simple python program:
def add_numbers(numbers):
result = numbers[0] + numbers[1]
return result
add_numbers([1, 2, 3])
The above code adds two numbers and returns the sum of them. The result
variable stores the value of numbers[1]
, which is the second number in the list. This code then adds this number to the first number, resulting in a new number, and finally returns it as the output.
Here’s how it works:
- Define a function called
add_numbers
that takes one argument:numbers
.
- In this function, create a variable named
result
and assign it the value ofnumbers[0]
. This will be the first number in the list.
- Then, use an indexing operation to access the second number in the list (the second element) by using brackets and indexing it with
numbers[1]
.
- After getting the second number, add it to the result obtained from steps 2 and 3. So we have
[result] + [second_number].
Which gives us our final sum.
- Return the final result.
- Call the function with
add_numbers
function with a list of three numbers. For example[1, 2, 3]
.
- Print out the output.
Please run the given code in your local environment and check whether the code works as intended. If it doesn’t work properly or if there are any issues, please share them so we can help.