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:
@@ -8,8 +8,9 @@ localeTitle: Python 2 vs Python 3
|
||||
|
||||
ما يلي هو عبارة `print` صالحة في Python 2 ، ولكنها لا تعمل على Python 3:
|
||||
|
||||
`print "Hello World"
|
||||
`
|
||||
```py
|
||||
print "Hello World"
|
||||
```
|
||||
|
||||
في Python 3 ، يلقي نفس العبارة خطأ كالتالي:
|
||||
|
||||
@@ -24,8 +25,9 @@ localeTitle: Python 2 vs Python 3
|
||||
|
||||
يعد استخدام وظيفة `print()` 'آمن' في كل من Python 2 و 3:
|
||||
|
||||
`print("Hello World")
|
||||
`
|
||||
```python
|
||||
print("Hello World")
|
||||
```
|
||||
|
||||
هناك فرق آخر بين Python 2 و Python 3 وهو بنية البيانات التي يتم إرجاعها عند استدعاء الدالة `map()` .
|
||||
|
||||
|
Reference in New Issue
Block a user