ਫਰਮਾ:Repeat/doc
ਦਿੱਖ
ਇਹ ਇੱਕ ਫਰਮਾ:Repeat ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
Usage
[ਸੋਧੋ]{{repeat|text|count}}
Examples
[ਸੋਧੋ]"{{repeat|ab|23}}"
gives "ababababababababababababababababababababababab" "`UNIQ--gallery-00000017-QINU`"'__%22_'"`UNIQ--gallery-00000018-QINU`"'__%7B_'"`UNIQ--gallery-00000019-QINU`"'__%7B_'"`UNIQ--gallery-0000001A-QINU`"'__repeat_'"`UNIQ--gallery-0000001B-QINU`"'__%7c_'"`UNIQ--gallery-0000001C-QINU`"'__ab_'"`UNIQ--gallery-0000001D-QINU`"'___'"`UNIQ--gallery-0000001E-QINU`"'___'"`UNIQ--gallery-0000001F-QINU`"'__%7c_'"`UNIQ--gallery-00000020-QINU`"'__23_'"`UNIQ--gallery-00000021-QINU`"'___'"`UNIQ--gallery-00000022-QINU`"'___'"`UNIQ--gallery-00000023-QINU`"'__%7D_'"`UNIQ--gallery-00000024-QINU`"'__%7D_'"`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`"'___'"`UNIQ--gallery-0000002E-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-00000040-QINU`"'__%22_'"`UNIQ--gallery-00000041-QINU`"'__%7B_'"`UNIQ--gallery-00000042-QINU`"'__%7B_'"`UNIQ--gallery-00000043-QINU`"'__repeat_'"`UNIQ--gallery-00000044-QINU`"'__%7c_'"`UNIQ--gallery-00000045-QINU`"'__ab_'"`UNIQ--gallery-00000046-QINU`"'__+_'"`UNIQ--gallery-00000047-QINU`"'___'"`UNIQ--gallery-00000048-QINU`"'__%7c_'"`UNIQ--gallery-00000049-QINU`"'__23_'"`UNIQ--gallery-0000004A-QINU`"'___'"`UNIQ--gallery-0000004B-QINU`"'___'"`UNIQ--gallery-0000004C-QINU`"'__%7D_'"`UNIQ--gallery-0000004D-QINU`"'__%7D_'"`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`"'___'"`UNIQ--gallery-00000057-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)