摘要:
class StudentDoc: def __init__(self,xh,name,zy,fs): self._xh=xh self._name=name self._zy=zy self._fs=fs def info(self): print(f'学号:{self._xh}') print( 阅读全文
摘要:
x = list(range(10)) print('整数输出1:', end = '') for i in x: print(i, end='') print('\n整数输出2:', end ='') for i in x: print(f'{i:02d}', end = '-') print(' 阅读全文