I have two Seq.
1 has Seq[String]
and another has Seq[(String,Double)]
a -> ["a","b","c"]
and
b-> [1,2,3]
I want to create output as
[("a",1),("b",2),("c",3)]
I have a code
a.zip(b)
is actually creating a seq of those two elements instead of creating a map
Can anyone suggest how to do that in scala?