1866
Comment: attempt at code snippet
|
1880
looks like a** but best I could do with RTL code - Python interpreter handles it
|
Deletions are marked like this. | Additions are marked like this. |
Line 42: | Line 42: |
#! ---- encoding utf-8 ---- | {{{#!python # -*- coding: utf-8 -*- |
Line 56: | Line 57: |
}}} |
Links to Python related information in Western Punjabi
ISO 639-3 Code: pnb
پنجابی
stub - in work
Shamukhi words courtesy of wikimedia
1 # -*- coding: utf-8 -*-
2
3 # random Punjabi words
4 # Python 3.1, OrderedDict
5 from collections import OrderedDict
6 وکیپیڈیا = OrderedDict()
7 وکیپیڈیا['پنجابی'] = 'some random Punjabi text'
8 وکیپیڈیا['انسائیکلوپیڈیا'] = 'some more random Punjabi text'
9 وکیپیڈیا['اک کھلا '] = 'and yet even more random Punjabi text'
10
11 for randomword in وکیپیڈیا:
12 print(randomword)
13 print(وکیپیڈیا[randomword])
14 print('\n')