官术网_书友最值得收藏!

1. Vital Python – Math, Strings, Conditionals, and Loops

Overview

By the end of this chapter, you will be able to simplify mathematical expressions with the order of operations using integers and floats; assign variables and change Python types to display and retrieve user information; apply global functions including len(), print(), and input(); manipulate strings using indexing, slicing, string concatenation, and string methods; apply Booleans and nested conditionals to solve problems with multiple pathways; utilize 'for loops' and 'while loops' to iterate over strings and repeat mathematical operations and create new programs by combining math, strings, conditionals, and loops.

This chapter covers the fundamentals of the Python language.

主站蜘蛛池模板: 顺平县| 文水县| 荃湾区| 屯留县| 阿鲁科尔沁旗| 巴青县| 霍州市| 连城县| 长乐市| 西昌市| 旺苍县| 平舆县| 公安县| 灌南县| 呼伦贝尔市| 沂源县| 东莞市| 南澳县| 景德镇市| 双城市| 红原县| 通山县| 天镇县| 河东区| 万盛区| 乌拉特中旗| 余庆县| 东辽县| 潞西市| 乌拉特前旗| 昌都县| 兴城市| 隆昌县| 阜城县| 上林县| 黄大仙区| 民和| 内乡县| 仪陇县| 仙桃市| 通山县|