8000 Merge remote-tracking branch 'refs/remotes/origin/master' · learnlinuxx123/python-tutorial@a4e0d14 · GitHub
[go: up one dir, main page]

Skip to content

Commit a4e0d14

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master'
2 parents f261f04 + d3db2c3 commit a4e0d14

30 files changed

+90
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Python programming tutorial
22

3-
**If you like this tutorial, please [give it a
4-
star](#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).**
5-
63
This is a Python 3 programming tutorial for beginners. If you have never
74
programmed before click [here](basics/what-is-programming.md) to find
85
out what programming is like and get started.
@@ -114,6 +111,9 @@ have helped me with it:
114111

115112
***
116113

114+
If you like this tutorial, please [give it a
115+
star](README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
116+
117117
You may use this tutorial freely at your own risk. See
118118
[LICENSE](LICENSE).
119119

TODO.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ This tutorial is not complete. It still needs:
3030

3131
***
3232

33+
If you like this tutorial, please [give it a
34+
star](README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
35+
3336
You may use this tutorial freely at your own risk. See
3437
[LICENSE](LICENSE).
3538

advanced/answers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11

22
***
33

4+
If you like this tutorial, please [give it a
5+
star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
6+
47
You may use this tutorial freely at your own risk. See
58
[LICENSE](../LICENSE).
69

advanced/functions.md

Lines changed: 3 additions & 0 deletions
  • Original file line numberDiff line numberDiff line change
    @@ -290,6 +290,9 @@ does, so using keyword-only arguments makes sense.
    290290

    291291
    ***
    292292

    293+
    If you like this tutorial, please [give it a
    294+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    295+
    293296
    You may use this tutorial freely at your own risk. See
    294297
    [LICENSE](../LICENSE).
    295298

    advanced/iters.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -445,6 +445,9 @@ does the same thing as our `count()`.
    445445

    446446
    ***
    447447

    448+
    If you like this tutorial, please [give it a
    449+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    450+
    448451
    You may use this tutorial freely at your own risk. See
    449452
    [LICENSE](../LICENSE).
    450453

    advanced/magicmethods.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -235,6 +235,9 @@ are not meant to be imported.
    235235

    236236
    ***
    237237

    238+
    If you like this tutorial, please [give it a
    239+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    240+
    238241
    You may use this tutorial freely at your own risk. See
    239242
    [LICENSE](../LICENSE).
    240243

    basics/answers.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -411,6 +411,9 @@ isn't exactly like mine but it works just fine it's ok, and you can
    411411
    412412
    ***
    413413
    414+
    If you like this tutorial, please [give it a
    415+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    416+
    414417
    You may use this tutorial freely at your own risk. See
    415418
    [LICENSE](../LICENSE).
    416419

    basics/classes.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -416,6 +416,9 @@ print("You entered " + word + ".")
    416416

    417417
    ***
    418418

    419+
    If you like this tutorial, please [give it a
    420+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    421+
    419422
    You may use this tutorial freely at your own risk. See
    420423
    [LICENSE](../LICENSE).
    421424

    basics/defining-functions.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -531,6 +531,9 @@ Answers for the first, second and third exercise are
    531531

    532532
    ***
    533533

    534+
    If you like this tutorial, please [give it a
    535+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    536+
    534537
    You may use this tutorial freely at your own risk. See
    535538
    [LICENSE](../LICENSE).
    536539

    basics/dicts.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -299,6 +299,9 @@ Running the program might look like this:
    299299

    300300
    ***
    301301

    302+
    If you like this tutorial, please [give it a
    303+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    304+
    302305
    You may use this tutorial freely at your own risk. See
    303306
    [LICENSE](../LICENSE).
    304307

    basics/exceptions.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -458,6 +458,9 @@ except OSError:
    458458

    459459
    ***
    460460

    461+
    If you like this tutorial, please [give it a
    462+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    463+
    461464
    You may use this tutorial freely at your own risk. See
    462465
    [LICENSE](../LICENSE).
    463466

    basics/files.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -365,6 +365,9 @@ else:
    365365

    366366
    ***
    367367

    368+
    If you like this tutorial, please [give it a
    369+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    370+
    368371
    You may use this tutorial freely at your own risk. See
    369372
    [LICENSE](../LICENSE).
    370373

    basics/getting-started.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -213,6 +213,9 @@ Powers are calculated before `*` and `/`, but after `()`.
    213213

    214214
    ***
    215215

    216+
    If you like this tutorial, please [give it a
    217+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    218+
    216219
    You may use this tutorial freely at your own risk. See
    217220
    [LICENSE](../LICENSE).
    218221

    basics/handy-stuff-strings.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -429,6 +429,9 @@ The answers are [here](answers.md#handy-stuff-strings).
    429429

    430430
    ***
    431431

    432+
    If you like this tutorial, please [give it a
    433+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    434+
    432435
    You may use this tutorial freely at your own risk. See
    433436
    [LICENSE](../LICENSE).
    434437

    basics/if.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -329,6 +329,9 @@ The answers are [here](answers.md#if-else-and-elif).
    329329

    330330
    ***
    331331

    332+
    If you like this tutorial, please [give it a
    333+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    334+
    332335
    You may use this tutorial freely at your own risk. See
    333336
    [LICENSE](../LICENSE).
    334337

    basics/installing-python.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -109,6 +109,9 @@ Now you should have Python installed, and you should be able run it.
    109109

    110110
    ***
    111111

    112+
    If you like this tutorial, please [give it a
    113+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    114+
    112115
    You may use this tutorial freely at your own risk. See
    113116
    [LICENSE](../LICENSE).
    114117

    basics/larger-program.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -212,6 +212,9 @@ something else when it's imported.
    212212

    213213
    ***
    214214

    215+
    If you like this tutorial, please [give it a
    216+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    217+
    215218
    You may use this tutorial freely at your own risk. See
    216219
    [LICENSE](../LICENSE).
    217220

    basics/lists-and-tuples.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -347,6 +347,9 @@ The answers are [here](answers.md#lists-and-tuples).
    347347

    348348
    ***
    349349

    350+
    If you like this tutorial, please [give it a
    351+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    352+
    350353
    You may use this tutorial freely at your own risk. See
    351354
    [LICENSE](../LICENSE).
    352355

    basics/loops.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -463,6 +463,9 @@ The answers are [here](answers.md#loops)
    463463

    464464
    ***
    465465

    466+
    If you like this tutorial, please [give it a
    467+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    468+
    466469
    You may use this tutorial freely at your own risk. See
    467470
    [LICENSE](../LICENSE).
    468471

    basics/modules.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -487,6 +487,9 @@ section at the bottom.
    487487

    488488
    ***
    489489

    490+
    If you like this tutorial, please [give it a
    491+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    492+
    490493
    You may use this tutorial freely at your own risk. See
    491494
    [LICENSE](../LICENSE).
    492495

    basics/the-way-of-the-program.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -38,6 +38,9 @@ learned everything.
    3838

    3939
    ***
    4040

    41+
    If you like this tutorial, please [give it a
    42+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    43+
    4144
    You may use this tutorial freely at your own risk. See
    4245
    [LICENSE](../LICENSE).
    4346

    basics/trey-hunner-zip-and-enumerate.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -135,6 +135,9 @@ The answers are [here](answers.md).
    135135
    136136
    ***
    137137
    138+
    If you like this tutorial, please [give it a
    139+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    140+
    138141
    You may use this tutorial freely at your own risk. See
    139142
    [LICENSE](../LICENSE).
    140143

    basics/using-functions.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -228,6 +228,9 @@ should work normally.
    228228

    229229
    ***
    230230

    231+
    If you like this tutorial, please [give it a
    232+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    233+
    231234
    You may use this tutorial freely at your own risk. See
    232235
    [LICENSE](../LICENSE).
    233236

    basics/variables.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -272,6 +272,9 @@ what you are doing. We'll learn more about it later.
    272272

    273273
    ***
    274274

    275+
    If you like this tutorial, please [give it a
    276+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    277+
    275278
    You may use this tutorial freely at your own risk. See
    276279
    [LICENSE](../LICENSE).
    277280

    basics/what-is-programming.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -155,6 +155,9 @@ rest of this tutorial only if you don't understand the code.
    155155

    156156
    ***
    157157

    158+
    If you like this tutorial, please [give it a
    159+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    160+
    158161
    You may use this tutorial freely at your own risk. See
    159162
    [LICENSE](../LICENSE).
    160163

    basics/what-is-true.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -213,6 +213,9 @@ if value is None: ... # best
    213213

    214214
    ***
    215215

    216+
    If you like this tutorial, please [give it a
    217+
    star](../README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    218+
    216219
    You may use this tutorial freely at your own risk. See
    217220
    [LICENSE](../LICENSE).
    218221

    contact-me.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -18,6 +18,9 @@ it, there are a few ways to contact me:
    1818

    1919
    ***
    2020

    21+
    If you like this tutorial, please [give it a
    22+
    star](README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    23+
    2124
    You may use this tutorial freely at your own risk. See
    2225
    [LICENSE](LICENSE).
    2326

    editor-setup.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -139,6 +139,9 @@ about it here, [tell me](contact-me.md).
    139139

    140140
    ***
    141141

    142+
    If you like this tutorial, please [give it a
    143+
    star](README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    144+
    142145
    You may use this tutorial freely at your own risk. See
    143146
    [LICENSE](LICENSE).
    144147

    getting-help.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -53,6 +53,9 @@ help on IRC is much faster.
    5353

    5454
    ***
    5555

    56+
    If you like this tutorial, please [give it a
    57+
    star](README.md#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    58+
    5659
    You may use this tutorial freely at your own risk. See
    5760
    [LICENSE](LICENSE).
    5861

    update-ends.py

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -35,6 +35,9 @@
    3535

    3636

    3737
    END_TEMPLATE = """\
    38+
    If you like this tutorial, please [give it a
    39+
    star]({readme}#how-can-i-thank-you-for-writing-and-sharing-this-tutorial).
    40+
    3841
    You may use this tutorial freely at your own risk. See
    3942
    [LICENSE]({license}).
    4043

    0 commit comments

    Comments
     (0)
    0