Python 9
[Python 100] Python 100
time sleep()
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import time
myD = {1: 'a', 2: 'b'}
for key, value in dict.items(myD):
print (key, value)
time.sleep(1) # 1
()
1 a 2 b
[Python 100] Python 100
| [ Web Proxy ] |
| Viewing: https://www.runoob.com/python/python-exercise-example9.html | [Back] [Original] |
[Python 100] Python 100
time sleep()
()
1 a 2 b
[Python 100] Python 100
| Web Proxy Viewer | New URL | Original Page |
Kunz
sun***[email protected]
#!/usr/bin/python # -*- coding: UTF-8 -*- import time l=[1,2,3,4] for i in range(len(l)): print l[i] time.sleep(1) #Kunz
sun***[email protected]