Commit 7cb18a33 by BellCodeEditor

auto save

parent e0819758
Showing with 6 additions and 8 deletions
import time
list1 = [] a = {"020":"广州","021":"上海","022":"天津","023":"重庆","024":"沈阳","025":"南京"}
start_time = time.time() while True:
for i in range(0, 1000): b = input("输入区号:")
for b in range(0, 1000): if b in a:
list1.append (0) print(a[b])
end_time = time.time()
print(end_time-start_time)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment