摘要:
方法1: 方法一: In [1]: str="dfadDFAfadfefFDs2e3rDFDFDFd3f" In [2]: print({i:str.count(i) for i in str}) {'d': 4, 'f': 5, 'a': 2, 'D': 5, 'F': 5, 'A': 1, 'e 阅读全文
摘要:
kubectl create deployment nginx --image=nginx:1.20 -o yaml --dry-run=client > my-deployment.yaml cat my-deployment.yaml apiVersion: apps/v1 kind: Depl 阅读全文