C859 Python Syntax 2023
C859 Python Syntax 2023 var1, var2, var3 = 1, 2, 3 - ANSWER multiple variable assignment 12 - ANSWER integer 1.2 - ANSWER float 'twelve' - ANSWER string "twelve" - ANSWER string True or False - ANSWER Boolean value type() - ANSWER determines type of an object (integer, boolean, etc) int() - ANSWER converts to integer object float() - ANSWER converts to float object str() - ANSWER converts to string object print() - ANSWER displays a message + - ANSWER addition (integer) or concatenation (string) - - ANSWER subtraction ** - ANSWER power of % - ANSWER modulus, remainder
Información del documento
- Subido en
- 9 de septiembre de 2023
- Número de páginas
- 8
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas