Seite 1 von 1

Assignment 10 Task 1

Verfasst: 20. Jan 2020 12:19
von nohnoh333
Hello there,
I was wondering how words are defined in this task: Are words only letters that are appended to each other (e.g. "ab", "foo") or can they also contain numbers (e.g. "1ab")?

Re: Assignment 10 Task 1

Verfasst: 20. Jan 2020 15:03
von jkapitzke

Re: Assignment 10 Task 1

Verfasst: 20. Jan 2020 17:05
von aditya_oak
Yes, they can contain numbers too.
To be specific, as described in the previous reply, splitting of a string into individual words is defined by the function "words" (mentioned in the hint of Task 1.a).

Re: Assignment 10 Task 1

Verfasst: 20. Jan 2020 17:56
von nohnoh333
Thank you very much!