ਫਰਮਾ:Repeat
ਦਿੱਖ
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
Usage
[ਸੋਧੋ]{{repeat|text|count}}
Examples
[ਸੋਧੋ]"{{repeat|ab|23}}"
gives "ababababababababababababababababababababababab" "`UNIQ--gallery-00000016-QINU`"'__%22_'"`UNIQ--gallery-00000017-QINU`"'__%7B_'"`UNIQ--gallery-00000018-QINU`"'__%7B_'"`UNIQ--gallery-00000019-QINU`"'__repeat_'"`UNIQ--gallery-0000001A-QINU`"'__%7c_'"`UNIQ--gallery-0000001B-QINU`"'__ab_'"`UNIQ--gallery-0000001C-QINU`"'___'"`UNIQ--gallery-0000001D-QINU`"'___'"`UNIQ--gallery-0000001E-QINU`"'__%7c_'"`UNIQ--gallery-0000001F-QINU`"'__23_'"`UNIQ--gallery-00000020-QINU`"'___'"`UNIQ--gallery-00000021-QINU`"'___'"`UNIQ--gallery-00000022-QINU`"'__%7D_'"`UNIQ--gallery-00000023-QINU`"'__%7D_'"`UNIQ--gallery-00000024-QINU`"'___'"`UNIQ--gallery-00000025-QINU`"'___'"`UNIQ--gallery-00000026-QINU`"'___'"`UNIQ--gallery-00000027-QINU`"'___'"`UNIQ--gallery-00000028-QINU`"'___'"`UNIQ--gallery-00000029-QINU`"'___'"`UNIQ--gallery-0000002A-QINU`"'___'"`UNIQ--gallery-0000002B-QINU`"'___'"`UNIQ--gallery-0000002C-QINU`"'___'"`UNIQ--gallery-0000002D-QINU`"'__%22&removecomments=true"{{repeat|ab |23}}"
gives "ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab " "`UNIQ--gallery-0000003F-QINU`"'__%22_'"`UNIQ--gallery-00000040-QINU`"'__%7B_'"`UNIQ--gallery-00000041-QINU`"'__%7B_'"`UNIQ--gallery-00000042-QINU`"'__repeat_'"`UNIQ--gallery-00000043-QINU`"'__%7c_'"`UNIQ--gallery-00000044-QINU`"'__ab_'"`UNIQ--gallery-00000045-QINU`"'__+_'"`UNIQ--gallery-00000046-QINU`"'___'"`UNIQ--gallery-00000047-QINU`"'__%7c_'"`UNIQ--gallery-00000048-QINU`"'__23_'"`UNIQ--gallery-00000049-QINU`"'___'"`UNIQ--gallery-0000004A-QINU`"'___'"`UNIQ--gallery-0000004B-QINU`"'__%7D_'"`UNIQ--gallery-0000004C-QINU`"'__%7D_'"`UNIQ--gallery-0000004D-QINU`"'___'"`UNIQ--gallery-0000004E-QINU`"'___'"`UNIQ--gallery-0000004F-QINU`"'___'"`UNIQ--gallery-00000050-QINU`"'___'"`UNIQ--gallery-00000051-QINU`"'___'"`UNIQ--gallery-00000052-QINU`"'___'"`UNIQ--gallery-00000053-QINU`"'___'"`UNIQ--gallery-00000054-QINU`"'___'"`UNIQ--gallery-00000055-QINU`"'___'"`UNIQ--gallery-00000056-QINU`"'__%22&removecomments=true{{#expr:{{repeat|ln(10*|20}}1{{repeat|)/ln2|20}}}}
gives 5.8770105937826 (iterative method, solving )
See also
[ਸੋਧੋ]- Template:loop (backlinks edit)
- Template:for loop (backlinks edit)
- Template:simple recursion (backlinks edit)
- Template:Repetition (backlinks edit)