- Python Projects for Kids
- Jessica Ingrassellino
- 119字
- 2021-07-09 19:35:13
Chapter 3. Calculate This!
In the previous chapter, you learned about the uses of variables, different data types, and functions. You created your own function and learned how to get basic information from a user with the raw_input()
function. Using these building blocks, you can begin to design basic programs.
The first program we make will be a five-function calculator that calculates two numbers as input. The calculator will help us learn to understand the mathematical functions that are a part of Python, which will be useful for our game at the end of the book. In addition to this, this calculator will form the foundation for a more complex calculator in Chapter 5, Loops and Logic.
推薦閱讀
- UI圖標創意設計
- The Android Game Developer's Handbook
- EPLAN實戰設計
- 概率成形編碼調制技術理論及應用
- Python機器學習算法: 原理、實現與案例
- 軟件測試教程
- Java Web從入門到精通(第3版)
- PHP 7從零基礎到項目實戰
- Lift Application Development Cookbook
- 大學計算機基礎實驗指導
- Learning Python Data Visualization
- 嵌入式Linux C語言程序設計基礎教程
- Python應用與實戰
- Manage Your SAP Projects with SAP Activate
- Learning Zimbra Server Essentials