Question: ( a ) Assign 1 2 8 as a string to a variable ( b ) Convert the variable defined in ( a ) into

(a) Assign 128 as a string to a variable
(b) Convert the variable defined in (a) into an integer and assign the outcome to a new variable
(c) Using the functions we learned in the class, display the datatypes of the two variables defined in (a) and (b)
(Note: You can name the variables whatever you would like as long as they folldw the naming rule)(1 point)
 (a) Assign 128 as a string to a variable (b) Convert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!