- Python Projects for Kids
- Jessica Ingrassellino
- 134字
- 2021-07-09 19:35:15
A quick task for you
Q1. What kind of data does the input()
function return?
- Elements
- Decimals
- Strings
- Integers
Q2. What does the int()
function do?
- Changes data to whole numbers
- Changes data to a string
- Does nothing
- Changes a function into a different function
Q3. How is the float()
function different from the int()
function?
- They are not different, they do the same thing
- The
float()
function deals with strings only - The
float()
function converts data into floating point numbers only 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?
- Type addition in your Python shell
- Type def addition in your Python shell
- Type
addition()
in your Python shell - Type
addition()
in your Python shell
推薦閱讀
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- Visual C++串口通信開(kāi)發(fā)入門與編程實(shí)踐
- Learning PostgreSQL
- Android開(kāi)發(fā)精要
- Maven Build Customization
- MySQL 8 DBA基礎(chǔ)教程
- Python進(jìn)階編程:編寫(xiě)更高效、優(yōu)雅的Python代碼
- 詳解MATLAB圖形繪制技術(shù)
- 細(xì)說(shuō)Python編程:從入門到科學(xué)計(jì)算
- C語(yǔ)言程序設(shè)計(jì)習(xí)題與實(shí)驗(yàn)指導(dǎo)
- Clojure for Java Developers
- 零基礎(chǔ)C#學(xué)習(xí)筆記
- Python機(jī)器學(xué)習(xí)開(kāi)發(fā)實(shí)戰(zhàn)
- Java EE項(xiàng)目應(yīng)用開(kāi)發(fā)
- PHP Microservices