Python in Education


  |  Chapter 3: Why Python in Education?



Download 3,73 Mb.
Pdf ko'rish
bet20/37
Sana01.01.2022
Hajmi3,73 Mb.
#303345
1   ...   16   17   18   19   20   21   22   23   ...   37
Bog'liq
Python in Education (en)

14  |  Chapter 3: Why Python in Education?


code written using the Perl programming language will look for

duplicate words in a text document:

print "$.: doubled $_\n" while /\b(\w+)\b\s+\b\1\b/gi  

Can you work out how Perl does this?

(In Perl’s defense, it is an amazingly powerful programming lan‐

guage with a different set of aims and objectives than Python. That’s

the point—you wouldn’t try to teach a person how to read with

James Joyce’s 



Ulysses

, despite it being widely regarded as one of the

top English-language novels of the 20

th

 century.)



Put simply, because you don’t have to concentrate on how to read or

write Python code, you can put more effort into actually under‐

standing it. Anything that lowers the effort required to engage in

programming is a good thing in an educational context (actually,

one could argue that this is true in all contexts).


Download 3,73 Mb.

Do'stlaringiz bilan baham:
1   ...   16   17   18   19   20   21   22   23   ...   37




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish