"연산자 +"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
[[category: Operator]]
[[category: 연산자]]
;연산자 +
;연산자 +



2019년 5월 9일 (목) 23:40 판

연산자 +

1 Bash

x=3
y=4
let z=$x+$y
echo $z
# 7

2 PHP

$x = 3;
$y = 4;
$z = $x + $y;
echo $z;
# 7

3 Python

x = 3
y = 4
z = x + y
print z
# 7

4 R

x = 3
y = 4
z = x + y
print( z )
## [1] 7

5 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}