Third Task:
Next task was based on the meme from Lord of the Rings.Within this I learnt how to join messages using + between each phrase, to add spaces between phrases by using + "" + in between each one and about quotations marks.You can use singe or double I need to remember to open and close with the same type and to use different ones for quoting something . The program I had to write needed to be able to enter a verb and change the phrase "One does not simply walk into modor," into the verb you want. To do this I put the code in a variable and printed the phrase with the variable in between ('One does not simply "' + verb + '" into Mordor!')
No comments:
Post a Comment