Re: [go-nuts] Golang Problems

2021-02-28 Thread Jesper Louis Andersen
You've stated the assignment. What have you tried in order to solve it? The best way to get at this is to just jump out in it and start trying stuff and see when it fails. Don't be afraid of stuff falling apart in the beginning. That's not what you are going to hand in, anyway. In addition, we

Re: [go-nuts] Golang Problems

2021-02-27 Thread Jan Mercl
On Sun, Feb 28, 2021 at 6:32 AM Marcin Romaszewicz wrote: > - if s is a string, s[0] is a rune If s is a non-empty string, s[0] is a byte. > - if r is a rune, string(r) is a 1 character string If r is a rune, string(r) is a string of 1 or more bytes. -- You received this message because you

Re: [go-nuts] Golang Problems

2021-02-27 Thread Marcin Romaszewicz
We're not going to do your homework for you, but some things to consider: - maps are good at associating values with names - there's a strings.ToLower() function you will find useful - sort.Ints sorts ints in

Re: [go-nuts] Golang Problems

2021-02-27 Thread peterGo
On Saturday, February 27, 2021 at 10:07:50 PM UTC-5 Kurtis Rader wrote: > This mailing list is not your free resource for doing homework on your > behalf. For $10_000 USD I will provide a solution. Otherwise, please go > away and ponder if employment as a ditch digger isn't better suited to

Re: [go-nuts] Golang Problems

2021-02-27 Thread Kurtis Rader
This mailing list is not your free resource for doing homework on your behalf. For $10_000 USD I will provide a solution. Otherwise, please go away and ponder if employment as a ditch digger isn't better suited to your skills. On Sat, Feb 27, 2021 at 7:02 PM Vignesh Kumar wrote: > Hello all, >