diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.md" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.md" index c04fbbf1c8e38ca53b867f690625155f2cd27e1f..b549535beabf581ba64b2183981aa5a4aaf87f2c 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.md" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.md" @@ -2,6 +2,8 @@ 输出 "Hello,World!" 字符串,请找出以下选项中错误的选项。 +小知识: Python的创始人为 Guido van Rossum,当时他在阿姆斯特丹的荷兰数学和计算机科学研究学会工作。1989年的圣诞节期间,Guido van Rossum为了在打发时间,决心开发一个新的脚本解释编程,作为ABC语言的一种继承,替代使用Unix shell和C语言进行系统管理,担负同Amoeba操作系统(英语:Amoeba (operating system))的交互和异常处理。之所以选中Python作为编程的名字,是因为他是BBC电视剧——《蒙提·派森的飞行马戏团》(Monty Python's Flying Circus)的爱好者。 + ## template ```python @@ -45,3 +47,19 @@ if __name__ == '__main__': str2 = "World!" print(str1+str2) ``` + +### 打印数组 + +```python +if __name__ == '__main__': + str_list = ["Hello,","World!"] + print(''.join(str_list)) +``` + +### 数组元素相加 + +```python +if __name__ == '__main__': + str_list = ["Hello,","World!"] + print(str_list[0]+str_list[1]) +``` \ No newline at end of file