Just wanted to let you know that in Hindi we have different symbols for consonant and vowels.
package main
import (p"fmt"
)
func main(){
सम(1,1,1,21323,2,2,32,1,)
}
func सम (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
---------------------------------------------------------------------
---------------------------------------------------------------------
it works Fine
But If I add vowel to make it an understandable word. The code breaks...
---------------------------------------------------------------------
---------------------------------------------------------------------
package main
import (p"fmt"
)
func main(){
समो(1,1,1,21323,2,2,32,1,)
}
func समो (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
---------------------------------------------------------------------
---------------------------------------------------------------------
it gives me this error.
# command-line-arguments
.\Try.go:7: invalid identifier character U+094B 'ो'
.\Try.go:12: invalid identifier character U+094B 'ो'
---------------------------------------------------------------------
---------------------------------------------------------------------
however it is necessary to handle it because we can't make a proper word without consonant...
Kindly Use a Person who understands the language so to know what is the problem...
---------------------------------------------------------------------
---------------------------------------------------------------------
And thanks for a wonderful language now all it needs is a data handling library like panda or data.table cause entire world is moving towards data science....
but overall nice work thanks.....
do reply