@[email protected] to Programmer [email protected] • 11 months agoExam Answerprogramming.devimagemessage-square125fedilinkarrow-up1781arrow-down110
arrow-up1771arrow-down1imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 11 months agomessage-square125fedilink
minus-squareCrazyEddie041linkfedilink19•11 months agoConversations about language aside, the error is that “Monday” is a string with a length of 6.
minus-square@[email protected]linkfedilink4•11 months agoWhat is the type of the variable day though? As it is we have to make multiple assumptions, based on popular programming languages, about the internals of the string type and the print function to assume that it prints “6”.
minus-square@ripcordlink9•11 months agoThere is a fairly good chance that there has been more info presented in the class than we have been given here.
Conversations about language aside, the error is that “Monday” is a string with a length of 6.
What is the type of the variable
day
though? As it is we have to make multiple assumptions, based on popular programming languages, about the internals of thestring
type and theprint
function to assume that it prints “6”.There is a fairly good chance that there has been more info presented in the class than we have been given here.
deleted by creator
That’s the variable name, not the type