Times

  다른 뜻에 대해서는 타임스 문서를 참조하십시오.

1 PHP[ | ]

<?php
$x = 100;
foreach(range(1,3) as $i) { $x++; }
echo $x; # 103
<?php
for($i=0;$i<3;$i++) { print "Hello!"; }
# Hello!Hello!Hello!

2 Python[ | ]

x = 100
for i in range(3): x+=1
print( x )
# 103
for i in range(3): print( 'Hello!', end='' )
# Hello!Hello!Hello!
print("Hello!" * 3)
# Hello!Hello!Hello!

3 Perl[ | ]

print "Hello!" x 3;
# Hello!Hello!Hello!

4 Ruby ★[ | ]

x = 100;
3.times { x+=1 }
print x
# 103
3.times { print "Hello!" }
# Hello!Hello!Hello!

5 같이 보기[ | ]

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