摘要: 从低位依次打印,并计算位数 n = int(input('number: ')) count = 0 while True: print(n % 10) n = n // 10 count += 1 if n == 0: break print('number of digits: ', count 阅读全文
posted @ 2022-02-13 16:06 ascertain 阅读(34) 评论(0) 推荐(0) 编辑
摘要: - hosts: database remote_user: root gather_facts: true tasks: - name: pp shell: | echo aaaaa ech bbbb ignore_errors: true - debug: msg="{{ ansible_dis 阅读全文
posted @ 2022-02-13 16:05 ascertain 阅读(57) 评论(0) 推荐(0) 编辑