16 lines
322 B
Python
16 lines
322 B
Python
|
|
---
|
||
|
|
permalink: /cgi/python/index.py
|
||
|
|
---
|
||
|
|
|
||
|
|
from datetime import datetime
|
||
|
|
from pprint import pprint
|
||
|
|
|
||
|
|
print("Hello from Python!")
|
||
|
|
print("")
|
||
|
|
print('print(datetime.today().strftime("%Y-%m-%d"))')
|
||
|
|
print(datetime.today().strftime('%Y-%m-%d'))
|
||
|
|
print("")
|
||
|
|
print("for i in range(1, 11): print(i);")
|
||
|
|
|
||
|
|
for i in range(1, 11): print(i);
|
||
|
|
|