Question: What does the following code do ? myNumber = 2 . 9 8 7 myString = str ( myNumber ) print ( myString
What does the following code do
myNumber
myString strmyNumber
printmyString
Group of answer choices
Assign the number to the variable myNumber and print it as a string.
Convert the string to a number and then print it
Assign the string to the variable myString and print it
Convert the number to a string and then print it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
