当前位置:网站首页>字符串
字符串
2022-08-09 09:20:00 【qq_35774189】
1、字符串是一个序列

2、使用for循环进行遍历

3、字符串切片

4、字符串是不可改变的,不能修改一个已经存在的字符串,可以新建一个字符串

5、根据一个字符查找其出现在字符串中的下标

6、循环和技术 第40行和44行
字符串方法:upper()接收一个字符串,并返回一个全部字母都是大写的字符串
操作符in : 看第一个是否是第二个的子串

7、打印出word1中出现且出现在word2中的所有字母

边栏推荐
猜你喜欢
随机推荐
Redis高可用
MySQL查漏补缺(五)不熟悉的知识点
国产谷歌地球,地形分析秒杀同款地图软件
Do you know the principles of test cases and how to write defect reports?
Anti App so层对抗分析
QT sets the icon of the exe executable
Summary of steps and methods for installing and uninstalling test cases that you must read
RPC服务远程漏洞
关于指针、地址的大小的问题(以及malloc的用法)
Redis基础
TypeScript Brief (1)
如何用数组实现环形队列
软件测试面试中,面试官问你一些比较“刁难”的问题你会怎么回答
JS-常用方法整理
初窥门径代码起手,Go lang1.18入门精炼教程,由白丁入鸿儒,首次运行golang程序EP01
A first look at the code to start, Go lang1.18 introductory refining tutorial, from Bai Ding to Hongru, the first time to run the golang program EP01
奥维地图电脑端手机端不能用了,有没有可替代的地图工具
What does the test plan include?What is the purpose and meaning?
Ontology Development Diary 01-Jena Configuration Environment Variables
营养与健康(HIT2021秋)








