Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
12 lines (10 loc) · 284 Bytes

File metadata and controls

12 lines (10 loc) · 284 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding:utf-8 -*-
__author__ = 'gjw'
__time__ = '2018/1/4 0004 下午 4:03'
# 题目:暂停一秒输出。
# 程序分析:使用 time 模块的 sleep() 函数。
import time
data = {1: 'a', 2: 'b'}
for key, value in dict.items(data):
print(key, value)
time.sleep(1)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.