Assignment 10 Task 1

Moderator: Konzepte der Programmiersprachen

nohnoh333
Neuling
Neuling
Beiträge: 2
Registriert: 5. Nov 2019 10:20

Assignment 10 Task 1

Beitrag 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")?

jkapitzke
Erstie
Erstie
Beiträge: 12
Registriert: 21. Sep 2016 23:54

Re: Assignment 10 Task 1

Beitrag von jkapitzke »


aditya_oak
Neuling
Neuling
Beiträge: 6
Registriert: 8. Okt 2018 11:24

Re: Assignment 10 Task 1

Beitrag 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).

nohnoh333
Neuling
Neuling
Beiträge: 2
Registriert: 5. Nov 2019 10:20

Re: Assignment 10 Task 1

Beitrag von nohnoh333 »

Thank you very much!

Antworten

Zurück zu „Konzepte der Programmiersprachen“