a.
age = int(inputResults)
Which of the following statements will convert a string stored in "inputResults" to an integer variable called "age"?
Select one:
a.
age = int(inputResults)
b.
inputResults = parse(age)
c.
age = inputResults.parse()
d.
age.int(inputResults)
5 answers
Which function would you use to convert a string value to a floating point value?
Select one:
a.
int()
b.
parse()
c.
float()
d.
decimal()
Select one:
a.
int()
b.
parse()
c.
float()
d.
decimal()
c.
float()
float()
How many input parameters are provided to the str.format() function?
Select one:
a.
1 only
b.
None
c.
3 only
d.
1 or more as needed to build your output string
Select one:
a.
1 only
b.
None
c.
3 only
d.
1 or more as needed to build your output string
d.
1 or more as needed to build your output string
1 or more as needed to build your output string