Python零基础快乐学习之旅
本书除了讲解Python语言的基本编程语法外,还融入了编程的逻辑思维。我希望读者能够充分吸收它,并在未来使用这种强大的编程语言。每一章的结尾都有专题设计的补充。这些精彩实用的主题程序示例,可以让读者充分领略各种语法的定义和精神,同时增强程序设计的逻辑思维能力。本书使用200个程序示例来讲解以下知识:
变量与基本数学运算一题:银行存款复利的计算
Python 中的基本数据类型 - 主题:计算从地球到月球所需的时间
基本输入和输出 - 主题:摄氏度到华氏度的转换
程序流程控制-主题:人体体重与健康判断程序
列表主题:用户账户管理系统
循环设计 - 功能:创建真正的成绩系统
元组 1 主题:了解元组
Dictionary-Topic:遍历字典
合集-主题:夏令营编程
函数设计-主题:使用函数重新设计记录文章中每个单词的出现
面向对象专题:解释函数和方法
设计与应用模块 - 主题:了解赌场游戏骗局
文档阅读和写作 - 主题:文档搜索
程序调试与异常处理-专题:理解程序调试的典故
排序和搜索 - 主题:奖励数字的设计
(In addition to explaining the basic programming syntax of Python language, this book also integrates the logical thinking of programming. I hope readers can fully absorb it and use this powerful programming language in the future. At the end of each chapter, there is a supplement to the special design. These wonderful and practical subject program examples can let readers fully appreciate the definition and spirit of various grammars, and enhance the logical thinking ability of program design.This book uses 200 program examples to explain the following knowledge:Variable and basic mathematical operation: Calculation of compound interest on bank depositsBasic data type in Python - Topic: calculate the time required from the earth to the moonBasic inputs and outputs - subject: conversion from Celsius to FahrenheitProcedure flow control - subject: human body weight and health judgment procedureList subject: user account management systemLoop design - function: create a real score systemTuple 1 topic: understanding tuplesDictionary topic: traverse the dictionaryCollection - Theme: Summer Camp programmingFunction design - Topic: use function redesign to record the occurrence of each word in the articleObject oriented topics: interpreting functions and methodsDesign and Application module - Theme: understanding casino game ScamsDocument reading and writing - Topic: document searchProgram debugging and exception handling - Special Topic: understanding the allusions of program debuggingSorting and searching - subject: Design of reward numbers)
页:
[1]