using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 合并字典 { class Program { static void Main(string[] args) { Dictionary<int, string> dicA = new Dictionary<int, string> {…
字符串操作 name = "alex" print(name.capitalize()) #首字母大写 name = "my name is alex" print(name.count("a")) #统计字母"a"的数量 print(name.center(50,"-")) #一共打印50个字符,变量name在中间,其余用"-"补足 print(name.endswith("…