🔰 Python : 10 days from Nob to Master 🔰

 ðŸ”° Python : 10 days from Nob to Master 🔰

Python Programming Language Is Considered Better Than Other ...


Day01~10- Python language foundation 59


Day01

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15


Introduction to Python-History of Python / Advantages and Disadvantages of Python / Application Fields of Python


Set up a programming environment-Windows environment / Linux environment / MacOS environment


Run Python program from terminal-Hello, world/print function/run program


Use IDLE-Interactive Environment (REPL) / write multiple lines of code / run the program / exit IDLE


Comment-The role of comments / single-line comments / multi-line comments

Day02-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/02.%E8%AF%AD%E8%A8%80%E5%85%83%E7%B4%A0.md


Programs and bases-instructions and programs / Von Neumann machine / Binary and decimal / Octal and hexadecimal


Variables and types-variable naming / variable use / input function / check variable type / type conversion


Numbers and strings-integer / floating point / complex number / string / string basic operation / character encoding


Operators-Mathematical Operators / Assignment Operators / Comparison Operators / Logical Operators / Identity Operators / Priority of Operators


Application case-Convert Fahrenheit temperature to Celsius temperature / Enter the radius of the circle to calculate the circumference and area / Enter the year to determine whether it is a leap year


Day03-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/03.%E5%88%86%E6%94%AF%E7%BB%93%E6%9E%84.md


Application scenarios of branch structure-condition / indentation / code block / flow chart


if statement-simple if / if-else structure / if-elif-else structure / nested if


Application case-User authentication / Interchange of imperial units and metric units / Decide what to do by rolling the dice / Converting percentile scores to grade system / Evaluation of piecewise function / Enter the length of three sides, if they can form a triangle, calculate the perimeter and area

Day04-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/04.%E5%BE%AA%E7%8E%AF%E7%BB%93%E6%9E%84.md


Application scenarios of loop structure-condition/indentation/code block/flow chart


while loop-basic structure / break statement / continue statement


for loop-basic structure / range type / branch structure in loop / nested loop / end program early


Application case-1~100 summation / judging prime numbers / guessing the number game/printing the nine-nine table/printing the triangle pattern/monkeys eating peaches / hundred money and hundred chickens


Day05-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/05.%E6%9E%84%E9%80%A0%E7%A8%8B%E5%BA%8F%E9%80%BB%E8%BE%91.md


Classic case: the number of daffodils / a hundred money and a hundred chickens / Craps gambling game


Practice questions: Fibonacci sequence / perfect numbers / prime numbers


Day06-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/06.%E5%87%BD%E6%95%B0%E5%92%8C%E6%A8%A1%E5%9D%97%E7%9A%84%E4%BD%BF%E7%94%A8.md


The role of the function-bad smell of the code/function module encapsulation


Define function-def statement/function name/parameter list/return statement/call custom function


Call function-Python built-in functions / import modules and functions


Function parameters-default parameters / variable parameters / keyword parameters / named keyword parameters


The return value of the function-no return value / return a single value / return multiple values


Scope issues-local scope / nested scope / global scope / built-in scope / scope-related keywords


Manage functions with the modules-the concept of modules/use custom modules to manage functions / what happens when naming conflicts (the same module and different modules)



Day07-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/07.%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%92%8C%E5%B8%B8%E7%94%A8%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84.md



The use of string-calculation length / subscript operation / slicing / common methods


Basic usage of list-define list / use the following table to access elements / subscript out of range / add element / delete element / modify element / slice / loop traversal


Common List Operations-Concatenation / Copy (Copy Elements and Copy Array) / Length / Sort / Reverse / Find


Generate list-use range to create a list of numbers / generate expressions / generators


Use of tuples-define tuples / use values in tuples / modify tuple variables / tuples and list conversion


Basic usage of collection-the difference between collection and list / create collection / add element / delete element / empty


Common Set Operations-Intersection / Union / Difference / Symmetric Difference / Subset / Superset


The basic usage of the dictionary-the characteristics of the dictionary / create a dictionary / add elements / delete elements / take values / empty


Common dictionary operations-keys() method/ values() method/ items() method/ setdefault() method


Basic exercises-marquee effect / find the largest element in a list / statistical test score average / Fibonacci sequence / Yang Hui triangle


Comprehensive case-Two-color ball number selection / Tic-Tac-Toe


Day08-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/08.%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B%E5%9F%BA%E7%A1%80.md



Classes and objects-what is a class / what is an object / other related object-oriented concepts


Define the class-basic structure / attributes and methods / constructor / destructor / str method


Use object-create object / send message to object


Four pillars of object-oriented-abstraction / encapsulation / inheritance / polymorphism


Basic exercises-define student class/ define clock class/ define graphics class/ define car class


Day09-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/09.%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E8%BF%9B%E9%98%B6.md



Attribute-class attribute / instance attribute / attribute accessor / attribute modifier / attribute deleter / use slots


Method in class-instance method/class method/static method


Operator overloading-add / sub / or /getitem / setitem / len / repr / gt / lt / le / ge / eq / ne / contains


The relationship between classes (of objects)-association/inheritance/dependency


Inheritance and polymorphism-what is the inheritance/ syntax of inheritance/ calling parent method/ method rewriting/ type determination/ multiple inheritance/ diamond inheritance (diamond inheritance) and C3 algorithm


Comprehensive Case-Salary Settlement System / Automatic Book Discount System / Customized Score


Day10-

https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/10.%E5%9B%BE%E5%BD%A2%E7%94%A8%E6%88%B7%E7%95%8C%E9%9D%A2%E5%92%8C%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91.md



Use tkinter to develop GUI programs
Use pygame third party library to develop game applications
“Big ball eats small ball” gam
Previous Post Next Post