字符串定义

字符串为什么会有三种创建方法
原创2023/1/5...大约 3 分钟

num1 = 1
num2 = 2
result = num1 + num2
print(result) # 3


变量就是在计算机的内存当中,开辟空间。
变量是可以被覆盖的。
name1 = "hanmeimei"
name1 = "lilei"
print(name1)

缺少 ])。
所有的符号,都是成双成对的。() 、[]。
{
text: "专栏",
icon: "workingDirectory",
children: [
{
text: "IT 文档主页",
children: [
"/column",
{ text: "私教回放", icon: "play", link: "/column/playback/"},
{ text: "Python 合集", icon: "python", link: "/column/py/Python_tutorial/"},
{ text: "Python 私教", icon: "python", link: "/column/py/basequestion/"},
{ text: "Web 专栏", icon: "network", link: "/column/web/base"},
{ text: "Python 办公自动化", icon: "python", link: "/column/pyauto"},
{ text: "题解", icon: "code", link: "/column/tijie"},
{ text: "公开课资料", icon: "blog", link: "/column/pyauto/gkk/"},
{ text: "编程思维", icon: "siwei", link: "/column/Programmingthinking/"},
{ text: "零基础学习机器学习", icon: "centos", link: "/column/TensorFlow/零基础实战机器学习/"},
{ text: "数据分析", icon: "zhuzhuangtu", link: "/column/data_analysis/week1/01"},
{ text: "数据结构与算法", icon: "shujujiegou-01", link: "/column/data-structure/week1/01"},
{ text: "Python 60 Day", icon: "python", link: "/column/python60/01"},
{ text: "AI悦创·天池计划", icon: "dianchi1", link: "/column/tianchi/Python/Python01"},
{ text: "Java体系课", icon: "java", link: "/column/Java/chapter01/01.md"},
{ text: "AI悦创·1v1", icon: "1v1-4", link: "/1v1/"},
{ text: "摄影入门课", icon: "cameraadd", link: "/column/摄影入门课/"},
]
},
解决方法有两种:
themes.ts
[encodeURI("/column/TensorFlow/零基础实战机器学习/")]: "123123a",[encodeURI("链接")]: "123123a",
写文章,就只用 Typora,修改网站采用 VSCODE
图片:路径要添加 ./
title: 要添加空格
.vuepress>>>theme.tsencrypt: {
config: {
"/1v1/01-Thomas-hw-note/": ["123123"],
},
},
利用 CSDN 做图床
Command + A 全选

左上角的标题
.vuepress/config.ts左上角的 logo
.vuepress/theme.ts路径:.vuepress/theme.ts
cd happydoggy
cd Ohlalala1021.github.io
a = 1
b = 2
c = 3
https://www.aliyundrive.com/s/cx7Kqc6Ss2f
a = 1
b = 2
c = 3