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

A quick task for you

Q1. What kind of data does the input() function return?

  1. Elements
  2. Decimals
  3. Strings
  4. Integers

Q2. What does the int() function do?

  1. Changes data to whole numbers
  2. Changes data to a string
  3. Does nothing
  4. Changes a function into a different function

Q3. How is the float() function different from the int() function?

  1. They are not different, they do the same thing
  2. The float() function deals with strings only
  3. The float() function converts data into floating point numbers only
  4. float() converts words into numbers

Q4. If you make a function called addition() in your Python shell, how do you run that addition function to test it?

  1. Type addition in your Python shell
  2. Type def addition in your Python shell
  3. Type addition() in your Python shell
  4. Type addition() in your Python shell
主站蜘蛛池模板: 瓦房店市| 崇义县| 汶川县| 明水县| 铜梁县| 贵德县| 淮北市| 平顶山市| 理塘县| 万源市| 砚山县| 江津市| 海原县| 德州市| 乌兰察布市| 安阳县| 金寨县| 桐梓县| 贡觉县| 嘉峪关市| 习水县| 惠来县| 高邮市| 甘肃省| 诸暨市| 陇川县| 沂南县| 尼勒克县| 柞水县| 新巴尔虎右旗| 镇巴县| 宝应县| 大洼县| 五寨县| 宜城市| 哈密市| 上杭县| 正阳县| 日照市| 长宁区| 四子王旗|