Convert single backtick code sections to triple backtick code sections for Arabic Guide articles (13 of 15) (#36240)

* fix: converted single to triple backticks13

* fix: added prefix

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: removed language in wrong place

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add language postfix

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: removed language in wrong place

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
Randell Dawson
2019-06-20 16:07:24 -07:00
committed by Tom
parent db4d4a1b34
commit d6a160445e
75 changed files with 2195 additions and 1889 deletions

View File

@@ -12,28 +12,33 @@ localeTitle: طريقة الانضمام إلى سلسلة
1) الانضمام إلى ist من السلاسل مع `":"`
`print ":".join(["freeCodeCamp", "is", "fun"])
`
```python
print ":".join(["freeCodeCamp", "is", "fun"])
```
انتاج |
`freeCodeCamp:is:fun
`
```shell
freeCodeCamp:is:fun
```
2) الانضمام إلى مجموعة من الأوتار مع `" and "`
`print " and ".join(["A", "B", "C"])
`
```python
print " and ".join(["A", "B", "C"])
```
انتاج |
`A and B and C
`
```shell
A and B and C
```
3) أدخل `" "` بعد كل حرف في سلسلة
`print " ".join("freeCodeCamp")
`
```python
print " ".join("freeCodeCamp")
```
انتاج:
@@ -48,20 +53,23 @@ localeTitle: طريقة الانضمام إلى سلسلة
انتاج:
`program
`
```shell
program
```
5) الانضمام مع مجموعات.
`test = {'2', '1', '3'}
s = ', '
print(s.join(test))
`
```python
test = {'2', '1', '3'}
s = ', '
print(s.join(test))
```
انتاج:
`2, 3, 1
`
```shell
2, 3, 1
```
#### معلومات اكثر: