【文件属性】:
文件名称:基于javatcpsocket通信的拆包和装包源码-python-interview-questions:Python面试问题
文件大小:988KB
文件格式:ZIP
更新时间:2021-06-06 20:59:22
系统开源
基于java
tcp
socket通信的拆包和装包源码Python
面试题
问:如何改进以下代码?
import
string
i
=
0
for
letter
in
string
.
letters
:
print
(
"The
letter
at
index
%i
is
%s"
%
(
i
,
letter
))
i
=
i
+
1
提及enumerate和使用str.format
。
问:为什么这种语言被称为
Python?
在开始实施
Python
的同时,Guido
van
Rossum
还在阅读“Monty
Python's
Flying
Circus”(70
年代的
BBC
喜剧系列)中已发布的脚本。
问:Python
特别擅长什么?
什么时候使用
Python
是项目的“正确选择”?
Python
是一种高级、解释性、交互性和面向对象的脚本语言。
Python
被设计为具有高度可读性。
它经常使用英语关键字,而其他语言使用标点符号,并且它的句法结构比其他语言少。
Python
是一种高级通用编程语言,可以应用于许多不同类别的问题。
该语言带有一个大型标准库,涵盖了诸如正
【文件预览】:
python-interview-questions-master
----recursive_index.py(2KB)
----count_recursively.py(396B)
----add_to_zero.py(603B)
----.gitignore(16B)
----anagram_of_palindrome.py(1KB)
----etl_client.py(9KB)
----palindrome_permutation.py(622B)
----README.md(183KB)
----coins.py(2KB)
----zig_zag.py(3KB)
----stock-price.py(2KB)
----find_longest_word.py(475B)
----create_stack.py(4KB)
----find_matches()
--------find_matches.py(10KB)
--------input3.csv(2.06MB)
--------input2.csv(416B)
--------input1.csv(305B)
----highest_product_of_three.py(2KB)
----binary_search.py(931B)
----merge_ranges.py(1KB)
----make_change.py(969B)
----reverse_order_of_words.py(929B)
----most_frequent_word.py(944B)
----bst_add_child.py(2KB)
----quote_generator.py(852B)
----award_budget_cuts.py(3KB)
----create_queue.py(1KB)
----climb_stairs.py(2KB)
----create_queue_ll.py(3KB)
----reverse_string.py(1KB)
----decode_string.py(1KB)
----linked_list.py(2KB)
----non_neg_int.py(1KB)
----first_duplicate.py(3KB)
----is_binary_tree.py(1KB)
----valid_parenthesis_permutations.py(1KB)
----find_mode.py(832B)
----has_balanced_brackets.py(2KB)
----min_heap.py(5KB)
----python-programs.md(50KB)
----calculator.py(3KB)
----is_unique.py(651B)
----sort_fractions.py(389B)
----task_handler()
--------task3.py(14B)
--------taskhandler.py(4KB)
--------task0.py(13B)
--------task2.py(24B)
--------task4.py(16B)
--------task1.py(17B)
----rate_checker.py(1KB)
----products_of_all_ints.py(2KB)
----sum_list.py(482B)
----hash_map.py(2KB)
----count_employees.py(1KB)
----assets()
--------star.png(2KB)
----print_recursively.py(366B)
----reverse_linked_list.py(1KB)
----sum_tree_nodes.py(1KB)