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

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
主站蜘蛛池模板: 高邮市| 华亭县| 平原县| 武平县| 正定县| 公主岭市| 牙克石市| 杂多县| 惠东县| 青州市| 侯马市| 大埔县| 洛川县| 井冈山市| 定远县| 临沂市| 南宫市| 汝阳县| 香港| 梅河口市| 吉林省| 花莲县| 赤壁市| 广州市| 什邡市| 大理市| 印江| 额济纳旗| 崇明县| 望奎县| 梅河口市| 鹤庆县| 新密市| 扶余县| 绥芬河市| 乌兰察布市| 成武县| 滦平县| 若尔盖县| 珲春市| 宝鸡市|