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

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
主站蜘蛛池模板: 聂荣县| 文成县| 东莞市| 焉耆| 肃北| 高邮市| 霍山县| 大名县| 徐闻县| 东丽区| 梨树县| 晴隆县| 朝阳县| 花莲市| 大洼县| 长丰县| 乌兰浩特市| 清苑县| 即墨市| 莱西市| 吉林省| 渝中区| 郸城县| 镇远县| 高淳县| 若羌县| 洪泽县| 富宁县| 崇义县| 新绛县| 合川市| 广河县| 临安市| 惠安县| 广灵县| 镇赉县| 白河县| 鄂托克旗| 五华县| 鄂州市| 抚松县|