网站首页 站内搜索

搜索结果

查询Tags标签: alex,共有 24条记录
  • python小知识

    python小知识 a = 20; print(type(a))#数字类mag = """my name is alex i am from Fujian"""; #多引号可以多行使用a = ["Alex","Jack","Rain","WuSir","BlackGirl"] a[4] = "白雪…

    2021/10/4 11:10:54 人评论 次浏览
  • 集合-多集合操作(交集、并集、差集、判定)

    1、交集 intersection # 交集 a = {Alex,Bob,Tom,Alice,John} b = {John,Egon,Celia,Alex} print(a & b) # 取交集 c = a.intersection(b) # 取交集 print(c)输出: {John, Alex} {John, Alex}2、并集 union # 并集 a = {Alex,Bob,Tom,Alice,John} b = {John,Egon,C…

    2021/9/11 23:36:36 人评论 次浏览
  • 集合-多集合操作(交集、并集、差集、判定)

    1、交集 intersection # 交集 a = {Alex,Bob,Tom,Alice,John} b = {John,Egon,Celia,Alex} print(a & b) # 取交集 c = a.intersection(b) # 取交集 print(c)输出: {John, Alex} {John, Alex}2、并集 union # 并集 a = {Alex,Bob,Tom,Alice,John} b = {John,Egon,C…

    2021/9/11 23:36:36 人评论 次浏览
  • 2021-7-17 Boredom

    难度 1500 题目 CodeForces:Boredomtime limit per test 1 secondmemory limit per test 256 megabytesAlex doesnt like boredom. Thats why whenever he gets bored, he comes up with games. One long winter evening he came up with a game and decided to play it.G…

    2021/7/17 23:13:46 人评论 次浏览
  • 2021-7-17 Boredom

    难度 1500 题目 CodeForces:Boredomtime limit per test 1 secondmemory limit per test 256 megabytesAlex doesnt like boredom. Thats why whenever he gets bored, he comes up with games. One long winter evening he came up with a game and decided to play it.G…

    2021/7/17 23:13:46 人评论 次浏览
  • Python全栈之路:string字符串常用方法

    大小写转换 print("name is Alex".capitalize()) # 转为首字母大写 ->Name is alex print("name is Alex".title()) # 转为标题形式 ->Name Is Alex print("Name".upper()) # 转大写 ->NAME print("Name".lower()) …

    2021/7/12 11:08:08 人评论 次浏览
  • Python全栈之路:string字符串常用方法

    大小写转换 print("name is Alex".capitalize()) # 转为首字母大写 ->Name is alex print("name is Alex".title()) # 转为标题形式 ->Name Is Alex print("Name".upper()) # 转大写 ->NAME print("Name".lower()) …

    2021/7/12 11:08:08 人评论 次浏览
  • 深浅

    浅copy 例子1:1 data = {2 "name":"alex",3 "age":18,4 "scores":{5 "语文":130,6 "数学":60,7 "英语":98,8 }9 } 10 d2 = data 11 data["age&quo…

    2021/7/11 23:17:35 人评论 次浏览
  • 深浅

    浅copy 例子1:1 data = {2 "name":"alex",3 "age":18,4 "scores":{5 "语文":130,6 "数学":60,7 "英语":98,8 }9 } 10 d2 = data 11 data["age&quo…

    2021/7/11 23:17:35 人评论 次浏览
共24记录«上一页12下一页»
扫一扫关注最新编程教程