a = int('34') ¿qué valor tiene la variable a?
Básicos Python

Quiz
•
Computers
•
University
•
Hard
Ma. Guadalupe Roque
Used 67+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
34
'34'
34.0
'34.0'
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
a = float('34') ¿qué valor tiene la variable a?
34
'34'
34.0
'34.0'
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
b = int(12.5) ¿Qué valor tendrá b?
12.5
12
error
12.0
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
b = float(12.5) ¿Qué valor tendrá b?
12.5
12
Error
12.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
c = int('99.9') ¿Qué valor tendrá c?
99
99.0
ValueError: invalid literal for int( ) with base 10: '99.9'
'99'
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
d = float('9. 9') ¿Qué valor tendrá d ?
99
99.0
'99'
ValueError: could not convert string to float: '9. 9'
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
c = float('99.9') ¿Qué valor tendrá c ?
99
99.9
Error
'99'
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
16 questions
Lógica de Programação

Quiz
•
University
17 questions
Test Conocimientos previos Programación (JAVA)

Quiz
•
University
20 questions
TEST FINAL - Lenguaje de Programación I

Quiz
•
University
21 questions
SAINS KOMPUTER TINGKATAN 4 (BAB1)

Quiz
•
KG - University
25 questions
Introduction to Python

Quiz
•
KG - University
16 questions
Entrada e Saída em Python

Quiz
•
University
17 questions
Python 1

Quiz
•
1st Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade