JML - GILDARDO ALONSO CORTES GALLO
Quiz von , erstellt am more than 1 year ago

Type of Data

138
0
0
JML - GILDARDO ALONSO CORTES GALLO
Erstellt von JML - GILDARDO ALONSO CORTES GALLO vor mehr als 4 Jahre
Schließen

Type of Data - Phyton

Frage 1 von 3

1

Numeric:
A numeric value is any representation of data which has a numeric value. Python identifies three types of numbers:
Positive or negative whole numbers (without a fractional part)
Any real number with a floating point representation in which a fractional component is denoted by a decimal symbol or scientific notation
A number with a real and imaginary component represented as x+yj. x and y are floats and j is -1(square root of -1 called an imaginary number)

Klicke und ziehe, um den Text zu vervollständigen.

    Integer:
    Float:
    Complex number:

Erklärung

Frage 2 von 3

1

Data with one of two built-in values True or False. Notice that 'T' and 'F' are capital. true and false are not valid booleans and Python will throw an error for them.

Wähle eine der folgenden:

  • Integer

  • Character

  • Boolean

Erklärung

Frage 3 von 3

40

Wähle von der Dropdown-Liste, um den Text zu vervollständigen.

Sequence Type
A sequence is an ordered collection of similar or different data types. Python has the following built-in sequence data types:

( String:, Tuple:, List: ) is a collection of one or more characters put in single, double or triple quotes.
( Tuple:, String:, List : ) is an ordered collection of one or more data items, not necessarily of the same type, put in square brackets.
( List:, Tuple:, String: ) is an ordered collection of one or more data items, not necessarily of the same type, put in parentheses.

Erklärung