Skip to content

Commit fa0fc9f

Browse files
committed
Translate list mutability and assignment concepts
1 parent ff2806e commit fa0fc9f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎locales/pa-IN/LC_MESSAGES/tutorial/introduction.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ msgstr ""
511511

512512
#: ../../tutorial/introduction.rst:412
513513
msgid "Unlike strings, which are :term:`immutable`, lists are a :term:`mutable` type, i.e. it is possible to change their content::"
514-
msgstr ""
514+
msgstr "ਸਟਰਿੰਗਾਂ ਦੇ ਉਲਟ, ਜੋ :term:`immutable` ਹੁੰਦੀਆਂ ਹਨ, ਸੂਚੀਆਂ ਇੱਕ :term:`mutable` ਕਿਸਮ ਹਨ, ਅਰਥਾਤ ਉਨ੍ਹਾਂ ਦੀ ਸਮੱਗਰੀ ਨੂੰ ਬਦਲਿਆ ਜਾ ਸਕਦਾ ਹੈ::"
515515

516516
#: ../../tutorial/introduction.rst:415
517517
msgid ">>> cubes = [1, 8, 27, 65, 125] # something's wrong here\n"
@@ -524,7 +524,7 @@ msgstr ""
524524

525525
#: ../../tutorial/introduction.rst:422
526526
msgid "You can also add new items at the end of the list, by using the :meth:`list.append` *method* (we will see more about methods later)::"
527-
msgstr ""
527+
msgstr "ਤੁਸੀਂ :meth:`list.append` *method* ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸੂਚੀ ਦੇ ਅੰਤ ਵਿੱਚ ਨਵੇਂ items ਵੀ ਜੋੜ ਸਕਦੇ ਹੋ (ਅਸੀਂ methods ਬਾਰੇ ਅੱਗੇ ਹੋਰ ਵੇਖਾਂਗੇ)::"
528528

529529
#: ../../tutorial/introduction.rst:425
530530
msgid ">>> cubes.append(216) # add the cube of 6\n"
@@ -535,7 +535,7 @@ msgstr ""
535535

536536
#: ../../tutorial/introduction.rst:430
537537
msgid "Simple assignment in Python never copies data. When you assign a list to a variable, the variable refers to the *existing list*. Any changes you make to the list through one variable will be seen through all other variables that refer to it.::"
538-
msgstr ""
538+
msgstr "ਪਾਇਥਨ ਵਿੱਚ ਸਧਾਰਣ assignment ਕਦੇ ਵੀ ਡਾਟਾ ਦੀ ਕਾਪੀ ਨਹੀਂ ਬਣਾਉਂਦਾ। ਜਦੋਂ ਤੁਸੀਂ ਕਿਸੇ ਸੂਚੀ ਨੂੰ ਇੱਕ variable ਨਾਲ ਜੋੜਦੇ ਹੋ, ਤਾਂ variable ਮੌਜੂਦਾ *list* ਨੂੰ ਹੀ ਦਰਸਾਉਂਦਾ ਹੈ। ਇੱਕ variable ਰਾਹੀਂ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਉਹਨਾਂ ਸਾਰੇ variables ਵਿੱਚ ਦਿਖਾਈ ਦੇਣਗੀਆਂ ਜੋ ਉਸੇ ਸੂਚੀ ਨੂੰ ਦਰਸਾਉਂਦੇ ਹਨ::"
539539

540540
#: ../../tutorial/introduction.rst:435
541541
msgid ">>> rgb = [\"Red\", \"Green\", \"Blue\"]\n"

0 commit comments

Comments
 (0)