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

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
主站蜘蛛池模板: 图片| 海安县| 永靖县| 云和县| 舟曲县| 漳州市| 基隆市| 剑川县| 颍上县| 察隅县| 丰城市| 治多县| 兴和县| 东安县| 同德县| 磐安县| 新源县| 商河县| 曲松县| 会东县| 栾城县| 鹤岗市| 呼玛县| 桓台县| 招远市| 隆回县| 定结县| 东阿县| 陆河县| 潮安县| 内乡县| 潍坊市| 永丰县| 武强县| 东乌珠穆沁旗| 满城县| 拉萨市| 兴文县| 昌邑市| 高台县| 紫阳县|