Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
programiz-zh
提交
ae3b47eb
P
programiz-zh
项目概览
OpenDocCN
/
programiz-zh
9 个月 前同步成功
通知
0
Star
48
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
programiz-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ae3b47eb
编写于
7月 10, 2020
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2020-07-10 21:25:09
上级
f5fc3c77
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
9 deletion
+9
-9
docs/c/29.md
docs/c/29.md
+1
-1
docs/kotlin/12.md
docs/kotlin/12.md
+1
-1
docs/py/55.md
docs/py/55.md
+3
-3
docs/py/61.md
docs/py/61.md
+2
-2
docs/py/62.md
docs/py/62.md
+1
-1
docs/swift/33.md
docs/swift/33.md
+1
-1
未找到文件。
docs/c/29.md
浏览文件 @
ae3b47eb
...
...
@@ -112,7 +112,7 @@ printf("%d", *pc); // Output: 5
### 改变指针指向的值
Let's take an example.
让我们举个例子。
```
c
int
*
pc
,
c
;
...
...
docs/kotlin/12.md
浏览文件 @
ae3b47eb
...
...
@@ -69,7 +69,7 @@ fun main(args: Array<String>) {
}
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
kt
Enter operator either +, -, * or /
...
...
docs/py/55.md
浏览文件 @
ae3b47eb
...
...
@@ -38,7 +38,7 @@ date_object = datetime.date.today()
print
(
date_object
)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
2018
-
12
-
19
...
...
@@ -426,7 +426,7 @@ s2 = now.strftime("%d/%m/%Y, %H:%M:%S")
print
(
"s2:"
,
s2
)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
time
:
04
:
34
:
52
...
...
@@ -505,7 +505,7 @@ datetime_London = datetime.now(tz_London)
print
(
"London:"
,
datetime_London
.
strftime
(
"%m/%d/%Y, %H:%M:%S"
))
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
Local
time
:
2018
-
12
-
20
13
:
10
:
44.260462
...
...
docs/py/61.md
浏览文件 @
ae3b47eb
...
...
@@ -181,7 +181,7 @@ s = time.mktime(t)
print
(
"\s:"
,
seconds
)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
t1
:
time
.
struct_time
(
tm_year
=
2018
,
tm_mon
=
12
,
tm_mday
=
27
,
tm_hour
=
15
,
tm_min
=
49
,
tm_sec
=
29
,
tm_wday
=
3
,
tm_yday
=
361
,
tm_isdst
=
0
)
...
...
@@ -225,7 +225,7 @@ time_string = time.strftime("%m/%d/%Y, %H:%M:%S", named_tuple)
print
(
time_string
)
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
12
/
28
/
2018
,
09
:
47
:
41
...
...
docs/py/62.md
浏览文件 @
ae3b47eb
...
...
@@ -108,7 +108,7 @@ t1.start()
t2
.
start
()
```
When you run the program, the output will be something like:
当您运行程序时,输出将类似于:
```
py
Hello
...
...
docs/swift/33.md
浏览文件 @
ae3b47eb
...
...
@@ -85,7 +85,7 @@ let result = factorial(of: x)
print
(
"The factorial of
\(
x
)
is
\(
result
)
"
)
```
When you run the following program, the output will be:
当您运行以下程序时,输出将是:
```
swift
The
factorial
of
4
is
24
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录