Examples from Introduction to Programming Using Python 3,
Y. Daniel Liang
Chapter 1
Chapter 2
Welcome
WelcomeWithThreeMessages
ComputeExpression
ShowLogicErrors
OlympicSymbol
ComputeArea
ComputeAreaWithConsoleInput
ComputeAverage
ComputeAverageWithSimultaneousAssignment
DisplayTime
SalesTax
ShowCurrentTime
ComputeLoan
ComputeDistance
ComputeDistanceGraphics
Chapter 3
Chapter 4
MathFunctions
ComputeAngles
DisplayUnicode
ComputeChange
SimpleShapes
ColorShapes
AdditionQuiz
SimpleIfDemo
GuessBirthday
SubtractionQuiz
ChineseZodiac
ComputeBMI
ComputeTax
TestBooleanOperators
LeapYear
Lottery
PointInCircle
Chapter 5
Chapter 6
RepeatSubtractionQuiz
GuessNumberOneTime
GuessNumber
SubtractionQuizLoop
SentinelValue
MultiplicationTable
TestSum
GreatestCommonDivisor
FutureTuition
MonteCarloSimulation
TestBreak
TestContinue
PrimeNumber
RandomWalk
TestMax
PrintGradeFunction
ReturnGradeFunction
Increment
GCDFunction
TestGCDFunction
PrimeNumberFunction
Decimal2HexConversion
DefaultArgumentDemo
MultipleReturnValueDemo
RandomCharacter
TestRandomCharacter
PrintCalendar
UsefulTurtleFunctions
UseCustomTurtleFunctions
Chapter 7
Chapter 8
Circle
TestCircle
TV
TestTV
TestPassMutableObject
CircleWithPrivateRadius
TestLoanClass
Loan
UseBMIClass
BMI
CheckPalindrome
HexToDecimalConversion
TestRationalClass
Rational
Chapter 9
Chapter 10
SimpleGUI
ProcessButtonEvent
ProcessButtonEventAlternativeCode
WidgetsDemo
ChangeLabelDemo
CanvasDemo
GridManagerDemo
PackManagerDemo
PackManagerDemoWithSide
PlaceManagerDemo
LoanCalculator
ImageDemo
MenuDemo
PopupMenuDemo
MouseKeyEventDemo
EnlargeShrinkCircle
AnimationDemo
ControlAnimation
ScrollText
DialogDemo
DataAnalysis
LottoNumber
DeckOfCards
DeckOfCardsGUI
PassListArgument
DefaultListArgument
DefaultNoneListArgument
LinearSearch
BinarySearch
SelectionSort
InsertionSort
BounceBalls
Chapter 11
Chapter 12
PassTwoDimensionalList
GradeExam
NearestPoints
FindNearestPoints
NearestPointsGUI
TestCheckSudokuSolution
CheckSudokuSolution
SudokuGUI
Weather
GuessBirthdayUsingList
GeometricObject
CircleFromGeometricObject
RectangleFromGeometricObject
TestCircleRectangle
PolymorphismDemo
DynamicBindingDemo
IsinstanceDemo
DisplayClock
StillClock
TestCourse
Course
TestStack
Stack
DisplayFigures
FigureCanvas
Chapter 13
Chapter 14
WriteDemo
ReadDemo
CopyFile
AppendDemo
WriteReadNumbers
FileEditor
CountEachLetter
CountEachLetterURL
CountEachLetterWithExceptionHandling
TestException
CircleWithException
TestCircleWithException
ProcessExceptionObject
InvalidRadiusException
CircleWithCustomException
TestException
TestCircleWithCustomException
BinaryIODemo
DetectEndOfFile
AddressBook
TupleDemo
SetDemo
SetListPerformanceTest
CountKeywords
CountOccurrenceOfWords
Chapter 15
ComputeFactorial
ComputeFibonacci
RecursivePalindromeUsingSubtring
RecursivePalindrome
RecursiveSelectionSort
RecursiveBinarySearch
DirectorySize
TowersOfHanoi
SierpinskiTriangle
EightQueens