一个VFP报表示例 *输出全部页面 REPORT FORM bb1 prev REPORT FORM bb2 prev *输出指定单位 REPORT FORM bb1 FOR dwdm="bj01" prev REPORT FORM bb2 FOR dwdm="bj01" prev *输入指定单位特定年份月份 REPORT FORM bb1 FOR dwdm="bj01" AND cyear="2012" AND cmonth="02" prev REPORT FORM bb2 FOR dwd
#python版一行内容分行输出
a="aA1一bB2二cC3三dD4四eE5五fF6六gG7七hH8八iI9九"
"""
分行输出为:
abcdefghi
ABCDEFGHI
123456789
一二三四五六七八九
"""
print("方法一:===============")
for r in range(0,4):
t=''
for s in range(0+r,len(a),4):
t=t+a[s]
print(t)
print("方法二:==============