a = readLines('stdin')[ switch(a, CA= "California", NY ="New York", FL= "Florida", OH= "Ohio") | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

a = readLines('stdin')[ switch(a, CA= "California", NY ="New York", FL= "Florida", OH= "Ohio")

This is not working. Please help me to crack it out

12th Jul 2022, 11:06 AM
viswajeet
viswajeet - avatar
1 Answer
+ 2
DO NOT put code in the heading, it gets cut off. Please LINK YOUR COMPLETE CODE and mention the TASK NUMBER.
12th Jul 2022, 11:47 AM
Lisa
Lisa - avatar