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

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.

主站蜘蛛池模板: 长葛市| 浪卡子县| 怀柔区| 长宁区| 南康市| 四子王旗| 台安县| 黄石市| 罗田县| 萍乡市| 铜陵市| 甘泉县| 潮州市| 浦东新区| 延寿县| 亳州市| 白城市| 铁岭市| 莎车县| 惠来县| 霍州市| 平利县| 夏津县| 平遥县| 驻马店市| 香河县| 兴城市| 文登市| 斗六市| 临桂县| 天津市| 扬州市| 江口县| 常熟市| 隆安县| 大兴区| 高邮市| 柘荣县| 湖南省| 出国| 临汾市|