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
17 questions
Python 1

Quiz
•
1st Grade - University
20 questions
Python for beginners

Quiz
•
University
22 questions
CS0012 Spring 25 Midterm Review

Quiz
•
University
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
17 questions
Segundo Parcial FM - QB

Quiz
•
University
16 questions
UTS ALPRO

Quiz
•
University
23 questions
Beginning C Programming

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

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade