"함수 str repeat()"의 두 판 사이의 차이

(새 문서: category: string ;str_repeat ==PHP== category: PHP <source lang='PHP'> echo str_repeat("hello", 3); // hellohellohello </source> ==같이 보기== *for *str_pad *s...)
 
1번째 줄: 1번째 줄:
[[category: string]]
[[category: string]]
;str_repeat
;str_repeat
;*


==PHP==
==PHP==
7번째 줄: 8번째 줄:
echo str_repeat("hello", 3);
echo str_repeat("hello", 3);
// hellohellohello
// hellohellohello
</source>
==Python==
[[category: Python]]
<source lang='Python'>
print "hello" * 3
# hellohellohello
</source>
</source>



2014년 5월 29일 (목) 14:50 판

str_repeat

1 PHP

echo str_repeat("hello", 3);
// hellohellohello

2 Python

print "hello" * 3
# hellohellohello

3 같이 보기

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