1 输入表格数据
format(self, *args, **kwargs): # known special case of str.format
"""
S.format(*args, **kwargs) -> str Return a formatted version of S, using substitutions from args and kwargs.
The substitutions are identified by braces ('{' and '}').
"""
pass
expandtabs(self, *args, **kwargs): # real signature unknown
"""
Return a copy where all tab characters are expanded using spaces. If tabsize is not given, a tab size of 8 characters is assumed.
"""
pass
s = ""
while True:
a = input("PPP:")
b = input("PPP:")
c = input("PPP:")
yy = "{0}\t{1}\t{2}\n"
d = yy.format(a,b,c)
s = s + d
print(s.expandtabs(30))
if input("shuru q:") == "q":
break
else:
continue
——————————————
PPP:333
PPP:4444
PPP:5555
333 4444 5555 shuru q:2
PPP:
PPP:33
PPP:566
333 4444 5555
33 566 shuru q:q Process finished with exit code 0