Skip to content

Commit 9177f74

Browse files
moved
1 parent b4d80cb commit 9177f74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1220
-1045
lines changed

docs/.github/ISSUE_TEMPLATE/bug_report.html

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

22
<!DOCTYPE html>
3-
43
<html>
5-
<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
6-
crossorigin="anonymous"></script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
4+
<head>
5+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
76
crossorigin="anonymous"></script>
87
<meta charset="utf-8" />
98
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

docs/.github/ISSUE_TEMPLATE/feature_request.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<!DOCTYPE html>
33

44
<html>
5-
<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
6-
crossorigin="anonymous"></script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
5+
<head>
6+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
77
crossorigin="anonymous"></script>
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

docs/CODE_OF_CONDUCT.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<html>
55
<head>
6+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
7+
crossorigin="anonymous"></script>
68
<meta charset="utf-8" />
79
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
810

@@ -50,7 +52,7 @@
5052
const thebe_selector_output = ".output, .cell_output"
5153
</script>
5254
<script async="async" src="_static/sphinx-thebe.js"></script>
53-
<link rel="canonical" href="https://prodigiouspython.github.io/ProdigiousPython/CODE_OF_CONDUCT.html" />
55+
<link rel="canonical" href="https://prodigiouspython.github.io/CODE_OF_CONDUCT.html" />
5456
<link rel="index" title="Index" href="genindex.html" />
5557
<link rel="search" title="Search" href="search.html" />
5658
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -398,7 +400,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
398400
<div class="menu-dropdown__content">
399401
<ul>
400402
<li>
401-
<a href="https://github.com/ProdigiousPython/ProdigiousPython"
403+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io"
402404
class="headerbtn"
403405
data-toggle="tooltip"
404406
data-placement="left"
@@ -415,7 +417,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
415417
</li>
416418

417419
<li>
418-
<a href="https://github.com/ProdigiousPython/ProdigiousPython/issues/new?title=Issue%20on%20page%20%2FCODE_OF_CONDUCT.html&body=Your%20issue%20content%20here."
420+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2FCODE_OF_CONDUCT.html&body=Your%20issue%20content%20here."
419421
class="headerbtn"
420422
data-toggle="tooltip"
421423
data-placement="left"

docs/README.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<html>
55
<head>
6+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
7+
crossorigin="anonymous"></script>
68
<meta charset="utf-8" />
79
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
810

@@ -50,7 +52,7 @@
5052
const thebe_selector_output = ".output, .cell_output"
5153
</script>
5254
<script async="async" src="_static/sphinx-thebe.js"></script>
53-
<link rel="canonical" href="https://prodigiouspython.github.io/ProdigiousPython/README.html" />
55+
<link rel="canonical" href="https://prodigiouspython.github.io/README.html" />
5456
<link rel="index" title="Index" href="genindex.html" />
5557
<link rel="search" title="Search" href="search.html" />
5658
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -398,7 +400,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
398400
<div class="menu-dropdown__content">
399401
<ul>
400402
<li>
401-
<a href="https://github.com/ProdigiousPython/ProdigiousPython"
403+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io"
402404
class="headerbtn"
403405
data-toggle="tooltip"
404406
data-placement="left"
@@ -415,7 +417,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
415417
</li>
416418

417419
<li>
418-
<a href="https://github.com/ProdigiousPython/ProdigiousPython/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here."
420+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here."
419421
class="headerbtn"
420422
data-toggle="tooltip"
421423
data-placement="left"

docs/_sources/prodigiouspython/Chapter_1/4_Datatypes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@
527527
"name": "python",
528528
"nbconvert_exporter": "python",
529529
"pygments_lexer": "ipython3",
530-
"version": "3.9.7"
530+
"version": "3.10.7"
531531
}
532532
},
533533
"nbformat": 4,

docs/_sources/prodigiouspython/Chapter_1/5_Collection_Types.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538
"name": "python",
539539
"nbconvert_exporter": "python",
540540
"pygments_lexer": "ipython3",
541-
"version": "3.9.5"
541+
"version": "3.10.7"
542542
}
543543
},
544544
"nbformat": 4,

docs/_sources/prodigiouspython/Chapter_6/1_Conditionals.ipynb

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,76 @@
464464
"source": [
465465
"No worries! Python community has listened to our asks and provided match-case in Python 3.10 🚀"
466466
]
467+
},
468+
{
469+
"cell_type": "markdown",
470+
"id": "9728c85e-f188-432b-ad21-01997559ccad",
471+
"metadata": {},
472+
"source": [
473+
"Probably, Programmers who are familiar with other programming languages must have seen `switch-case` already. An example for switch case in Golang: 👇👇"
474+
]
475+
},
476+
{
477+
"cell_type": "markdown",
478+
"id": "28192a88-b817-419e-8343-e489033422b6",
479+
"metadata": {},
480+
"source": [
481+
"```Go\n",
482+
"package main\n",
483+
"\n",
484+
"import (\n",
485+
" \"fmt\"\n",
486+
" \"log\"\n",
487+
")\n",
488+
"\n",
489+
"func main() {\n",
490+
" var input string\n",
491+
" happy := \"😀\"\n",
492+
" sad := \"😞\"\n",
493+
" fmt.Print(\"Please enter the emoji: \\t\")\n",
494+
" _, err := fmt.Scan(&input)\n",
495+
" if err != nil {\n",
496+
" log.Fatal(\"Error while reading the input: \", err)\n",
497+
" }\n",
498+
" switch input {\n",
499+
" case happy:\n",
500+
" fmt.Println(\"Happy\")\n",
501+
" case sad:\n",
502+
" fmt.Println(\"Sad\")\n",
503+
" default:\n",
504+
" fmt.Println(\"Unknown\")\n",
505+
" }\n",
506+
"}\n",
507+
"```"
508+
]
509+
},
510+
{
511+
"cell_type": "markdown",
512+
"id": "a8a93ad2-55c6-4664-b6fb-0dd4320c3276",
513+
"metadata": {},
514+
"source": [
515+
"```Shell\n",
516+
"> go run switchcase.go\n",
517+
"Please enter the emoji: 😀\n",
518+
"Happy\n",
519+
"```"
520+
]
521+
},
522+
{
523+
"cell_type": "markdown",
524+
"id": "0b8af31e-7050-4be4-a18e-6f26a2fa728c",
525+
"metadata": {},
526+
"source": [
527+
"In a Similar way we have `match-case` for us Python programmers 🐍"
528+
]
529+
},
530+
{
531+
"cell_type": "code",
532+
"execution_count": null,
533+
"id": "5e9401ea-f639-4f48-90a8-499af6668e26",
534+
"metadata": {},
535+
"outputs": [],
536+
"source": []
467537
}
468538
],
469539
"metadata": {
@@ -482,7 +552,7 @@
482552
"name": "python",
483553
"nbconvert_exporter": "python",
484554
"pygments_lexer": "ipython3",
485-
"version": "3.9.5"
555+
"version": "3.10.7"
486556
}
487557
},
488558
"nbformat": 4,

docs/genindex.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<html>
55
<head>
6+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
7+
crossorigin="anonymous"></script>
68
<meta charset="utf-8" />
79
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
810
<title>Index &#8212; Prodigious Python 🐍</title>
@@ -49,7 +51,7 @@
4951
const thebe_selector_output = ".output, .cell_output"
5052
</script>
5153
<script async="async" src="_static/sphinx-thebe.js"></script>
52-
<link rel="canonical" href="https://prodigiouspython.github.io/ProdigiousPython/genindex.html" />
54+
<link rel="canonical" href="https://prodigiouspython.github.io/genindex.html" />
5355
<link rel="index" title="Index" href="#" />
5456
<link rel="search" title="Search" href="search.html" />
5557
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -397,7 +399,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
397399
<div class="menu-dropdown__content">
398400
<ul>
399401
<li>
400-
<a href="https://github.com/ProdigiousPython/ProdigiousPython"
402+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io"
401403
class="headerbtn"
402404
data-toggle="tooltip"
403405
data-placement="left"
@@ -414,7 +416,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
414416
</li>
415417

416418
<li>
417-
<a href="https://github.com/ProdigiousPython/ProdigiousPython/issues/new?title=Issue%20on%20page%20%2Fgenindex.html&body=Your%20issue%20content%20here."
419+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2Fgenindex.html&body=Your%20issue%20content%20here."
418420
class="headerbtn"
419421
data-toggle="tooltip"
420422
data-placement="left"

docs/intro.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
<html>
55
<head>
6+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4115314770592073"
7+
crossorigin="anonymous"></script>
68
<meta charset="utf-8" />
79
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
810

@@ -50,7 +52,7 @@
5052
const thebe_selector_output = ".output, .cell_output"
5153
</script>
5254
<script async="async" src="_static/sphinx-thebe.js"></script>
53-
<link rel="canonical" href="https://prodigiouspython.github.io/ProdigiousPython/intro.html" />
55+
<link rel="canonical" href="https://prodigiouspython.github.io/intro.html" />
5456
<link rel="index" title="Index" href="genindex.html" />
5557
<link rel="search" title="Search" href="search.html" />
5658
<link rel="next" title="1. Getting Started with Python 🐍" href="prodigiouspython/Chapter_1/1_Getting_Started_With_Python_Language.html" />
@@ -399,7 +401,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
399401
<div class="menu-dropdown__content">
400402
<ul>
401403
<li>
402-
<a href="https://github.com/ProdigiousPython/ProdigiousPython"
404+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io"
403405
class="headerbtn"
404406
data-toggle="tooltip"
405407
data-placement="left"
@@ -416,7 +418,7 @@ <h1 class="site-logo" id="site-title">Prodigious Python 🐍</h1>
416418
</li>
417419

418420
<li>
419-
<a href="https://github.com/ProdigiousPython/ProdigiousPython/issues/new?title=Issue%20on%20page%20%2Fintro.html&body=Your%20issue%20content%20here."
421+
<a href="https://github.com/ProdigiousPython/prodigiouspython.github.io/issues/new?title=Issue%20on%20page%20%2Fintro.html&body=Your%20issue%20content%20here."
420422
class="headerbtn"
421423
data-toggle="tooltip"
422424
data-placement="left"

0 commit comments

Comments
 (0)