Skip to content

Commit

Permalink
while loops
Browse files Browse the repository at this point in the history
  • Loading branch information
adirao-projects committed Oct 20, 2023
1 parent 9805d1c commit 905cf73
Show file tree
Hide file tree
Showing 11 changed files with 453 additions and 368 deletions.
11 changes: 11 additions & 0 deletions code_examples/chapter_4/while_def.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Creating a while loop

# Setting a counter variable
count = 0

# while boolean statement is true, print "Hello World"
while count < 5:
print("Hello World")

# Increase counter variable by + 1 to avoid an infinite loop
count = count + 1
220 changes: 114 additions & 106 deletions how2code.aux

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions how2code.fdb_latexmk
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Fdb version 4
["bibtex how2code"] 1697672618 "how2code.aux" "how2code.bbl" "how2code" 1697672710 0
"./how2code-blx.bib" 1697672708 342 5ba7332ec7ecc2dc9c6b1bd96e3d9aad ""
["bibtex how2code"] 1697814127 "how2code.aux" "how2code.bbl" "how2code" 1697814154 0
"./how2code-blx.bib" 1697814150 342 5ba7332ec7ecc2dc9c6b1bd96e3d9aad ""
"./references.bib" 1697669868 324 3dbe672572a20ff59bb2ab694314bbcc ""
"C:/MiKTex/bibtex/bst/biblatex/biblatex.bst" 1679055682 65484 b7949c47a88ed6dca66ebc7a04577312 ""
"how2code.aux" 1697672708 22752 6a2b3254e3c4172a3a28d9323df2cc37 "pdflatex"
"how2code.aux" 1697814150 23608 6d0dcd0afcccafc3b4672c7b27c9c453 "pdflatex"
(generated)
"how2code.bbl"
"how2code.blg"
(rewritten before read)
["pdflatex"] 1697672705 "c:/Users/Admin/Desktop/Projects/java.util.helpmepls/how2code.tex" "how2code.pdf" "how2code" 1697672710 0
["pdflatex"] 1697814141 "c:/Users/Admin/Desktop/Projects/java.util.helpmepls/how2code.tex" "how2code.pdf" "how2code" 1697814154 0
"C:/MiKTex/fonts/tfm/jknappen/ec/tcrm1200.tfm" 993062508 1444 95ffe0f19b974d50849790c8225c7ef7 ""
"C:/MiKTex/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm" 1233955448 1004 54797486969f23fa377b128694d548df ""
"C:/MiKTex/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm" 1233955448 988 bdf658c3bfc2d96d3c8b02cfc1c94c20 ""
Expand All @@ -29,6 +29,7 @@
"C:/MiKTex/fonts/tfm/public/cm/cmmi12.tfm" 1136768653 1524 4414a8315f39513458b80dfc63bff03a ""
"C:/MiKTex/fonts/tfm/public/cm/cmmi6.tfm" 1136768653 1512 f21f83efb36853c0b70002322c1ab3ad ""
"C:/MiKTex/fonts/tfm/public/cm/cmmi8.tfm" 1136768653 1520 eccf95517727cb11801f4f1aee3a21b4 ""
"C:/MiKTex/fonts/tfm/public/cm/cmr10.tfm" 1136768653 1296 45809c5a464d5f32c8f98ba97c1bb47f ""
"C:/MiKTex/fonts/tfm/public/cm/cmr12.tfm" 1136768653 1288 655e228510b4c2a1abe905c368440826 ""
"C:/MiKTex/fonts/tfm/public/cm/cmr17.tfm" 1136768653 1292 296a67155bdbfc32aa9c636f21e91433 ""
"C:/MiKTex/fonts/tfm/public/cm/cmr6.tfm" 1136768653 1300 b62933e007d01cfd073f79b963c01526 ""
Expand Down Expand Up @@ -231,24 +232,25 @@
"C:/MiKTex/tex/latex/xargs/xargs.sty" 1206231060 12403 a11204384274e5980f17ec9564088fa4 ""
"C:/MiKTex/tex/latex/xcolor/xcolor.sty" 1656236890 56148 51a9a8571c07b9921892ae11063ae853 ""
"C:/MiKTex/tex/latex/xkeyval/xkeyval.sty" 1656236919 4937 4ce600ce9bd4ec84d0250eb6892fcf4f ""
"C:/Users/Admin/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map" 1697670476 82666 6ae954049cbd801ff08c004e318ae5a8 ""
"C:/Users/Admin/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map" 1697814038 82666 6ae954049cbd801ff08c004e318ae5a8 ""
"C:/Users/Admin/AppData/Local/MiKTeX/fonts/pk/ljfour/jknappen/ec/dpi600/tcrm1200.pk" 1697489535 14064 3b5ce56cd40ce09d5b41da8169a9df5c ""
"C:/Users/Admin/AppData/Local/MiKTeX/miktex/data/le/pdftex/pdflatex.fmt" 1696949965 24125494 b715b8c59e824503b1c1045ac339d6dd ""
"c:/Users/Admin/Desktop/Projects/java.util.helpmepls/how2code.tex" 1697672704 42804 9bb0f919f9bdfca9c5059619efd834ba ""
"c:/Users/Admin/Desktop/Projects/java.util.helpmepls/how2code.tex" 1697814121 45071 c5e6a3edc566d49452768887724e8d10 ""
"code_examples/chapter_4/while_def.py" 1697810844 262 f0115dc980f41ab875e534a7639258a5 ""
"code_examples/chapter_5/dictionary_def.py" 1697665373 563 920b36008d2b20d92854c29b5b466063 ""
"code_examples/chapter_5/list_def.py" 1697488352 276 ae6b45a717ef2f7c57c1f0e52b779e39 ""
"code_examples/chapter_5/set_def.py" 1697665392 273 99947cfa0cc6c0f9c3f38632fb23cd98 ""
"code_examples/chapter_5/set_example_output.txt" 1697668663 103 d473fe44e804eebbe6f96f3a36e675b2 ""
"code_examples/chapter_5/tuple_def.py" 1697488342 277 85f7f8186cf8e43da305eb5e0e05b16d ""
"code_examples/chapter_7/calculator_1.py" 1696951484 536 8716dace13a6ee44b976440b897b9e74 ""
"figures/chapter_5/sets.png" 1697664781 69442 31a54b0a7fe542edab203805861ef4a0 ""
"how2code.aux" 1697672708 22752 6a2b3254e3c4172a3a28d9323df2cc37 "pdflatex"
"how2code.bbl" 1697672618 1326 ab845f61646e20e879789b1b71026e8a "bibtex how2code"
"how2code.out" 1697672708 10926 c8d38180484571181f59c1fa1857c388 "pdflatex"
"how2code.run.xml" 1697672708 2605 48ffbb14c3fc60c878be18b9e24bae51 "pdflatex"
"how2code.tdo" 1697672708 2213 f6fce9fc9f9a8aa0a81ca56b3d073b27 "pdflatex"
"how2code.tex" 1697672704 42804 9bb0f919f9bdfca9c5059619efd834ba ""
"how2code.toc" 1697672708 6719 a4c8a8c7e1dec8162bbef7ac1be1b080 "pdflatex"
"how2code.aux" 1697814150 23608 6d0dcd0afcccafc3b4672c7b27c9c453 "pdflatex"
"how2code.bbl" 1697814128 1326 ab845f61646e20e879789b1b71026e8a "bibtex how2code"
"how2code.out" 1697814150 11426 a4538a9437d771c6cbb263ab84d77f33 "pdflatex"
"how2code.run.xml" 1697814150 2605 48ffbb14c3fc60c878be18b9e24bae51 "pdflatex"
"how2code.tdo" 1697814150 2213 657bae68f17e4690168cdec9002ca466 "pdflatex"
"how2code.tex" 1697814121 45071 c5e6a3edc566d49452768887724e8d10 ""
"how2code.toc" 1697814150 7051 ee2d65d86608a40eb87fdeb7d0a2e5f1 "pdflatex"
(generated)
"how2code-blx.bib"
"how2code.aux"
Expand Down
7 changes: 6 additions & 1 deletion how2code.fls
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,18 @@ INPUT C:\MiKTex\fonts\tfm\public\amsfonts\symbols\msam5.tfm
INPUT C:\MiKTex\fonts\tfm\public\amsfonts\symbols\msbm5.tfm
INPUT C:\MiKTex\fonts\tfm\public\amsfonts\euler\eurm5.tfm
INPUT C:\MiKTex\fonts\tfm\public\cm\cmtt10.tfm
INPUT C:\MiKTex\fonts\tfm\public\cm\cmtt12.tfm
INPUT C:\MiKTex\tex\latex\listings\lstlang1.sty
INPUT C:\MiKTex\tex\latex\listings\lstlang1.sty
INPUT C:\MiKTex\tex\latex\listings\lstlang1.sty
INPUT .\code_examples\chapter_4\while_def.py
INPUT .\code_examples\chapter_4\while_def.py
INPUT C:\MiKTex\fonts\tfm\public\cm\cmr10.tfm
INPUT C:\MiKTex\fonts\tfm\public\cm\cmtt10.tfm
INPUT code_examples\chapter_4\while_def.py
INPUT .\code_examples\chapter_5\list_def.py
INPUT .\code_examples\chapter_5\list_def.py
INPUT code_examples\chapter_5\list_def.py
INPUT C:\MiKTex\fonts\tfm\public\cm\cmtt12.tfm
INPUT .\code_examples\chapter_5\tuple_def.py
INPUT .\code_examples\chapter_5\tuple_def.py
INPUT code_examples\chapter_5\tuple_def.py
Expand Down
Loading

0 comments on commit 905cf73

Please sign in to comment.