This book includes 30 Python practical examples for beginners . With these useful examples, you can study Python programming skills in depth, master skillfully the Python coding knowledge, and became an expert of Python programming . These 30 examples cover various types of Python programming skills, such as operators, statement, array, string, function, class, object, file processing, exception…… . , which can be applied to the real Python programming work . This is a very helpful programming book in nowadays and the future . Note: This book is only suitable for beginners; it is not for experienced programmers.
Table of Contents
01. Get a square root 02. Calculate the triangle area 03. Calculate the circle area 04. Convert a centigrade to fahrenheit 05. Confirm an even or odd number. 06. Decimal & other number conversion 07. ASCII code & character conversion 08. Python calendar 09. Check prime number 10. Get a cube root 11. Get the greatest common divisor 12. Get the least common multiple 13. Miles converts to kilometers 14. Multiplication Table 15. Mark and grade 16. Show the person who is oldest 17. Print a diamond pattern 18. Get local time & Greenwich Time 19. The sum from 1 to 100 20. Count letters, spaces and characters 21. Output the values in reverse order 22. Print out the Yang Hui triangle 23. Get the sum of the '1! + 2! ... + 10!’ 24. Input three numbers, output in order. 25. Sort contents alphabetically 26. Exchange the value of variables 27. Output the largest number 28. Count the number of each letter 29. The power of a number 30. A simple calculator