Python打卡第三天

"本文介绍如何在Python中使用for...in...循环,并强调了字符串标识符的使用规则,包括单引号(')、双引号(")和多行字符串('""'""""""), 同时讲解了转行符 、制表符 以及反斜杠的特殊含义。"
摘要由CSDN通过智能技术生成

Note3

1.for ... in...循环第一条语句的冒号必须有

2.‘’用于字符串,””用于一个句子,”””  “””用于一个段落

3.\n换行,\t横向制表符,\\表示\

4.[起始地址:终止地址:步进值]

English version

  1. When we use the sentence of “for ...in ...”,we must add a ”:” at last.
  2. ‘’ is used to express the string.”” is used to express a sentence.”””  “”” is used to express a paragraph.
  3. \n mains change into next line.\t is horizontal tabulation character.\\ is used to express \.
  4. [start address:terminate address:step by step]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值