Search Header Logo

Básicos Python

Authored by Ma. Guadalupe Roque

Computers

University

Used 69+ times

Básicos Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

a = int('34') ¿qué valor tiene la variable a?

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'

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?