Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 359 Bytes

File metadata and controls

13 lines (12 loc) · 359 Bytes

Which of the following returns "sunny day"? Select all that apply.

A. "sunny day\n".chop B. "sunny day\n".chomp C. "sunny day".chop D. "sunny day".chomp E. "sunny days are nice".chop("s are nice") F. "sunny days are nice".chomp("s are nice")

True or False: Symbols are immutable. You cannot alter a given symbol.

str = "pizza"
str[2]