Python3: How to make dictionary from list using 'dict' and 'zip'? : <p>I'm learning Python3. I can't solve a problem... Please help me.
I could <strong>input 2 different strings</strong>(One is consisted with <strong>string</strong> another is consisted with <strong>float</strong>).
I'd like to make a dictionary from 2 different lists.
I made first one for <strong>key</strong>, another is for <strong>value</strong>.</p>

<pre><code>input1 = list(map(str, input().split()))
input2 = list(map(float, input().split()))

# output = dict(zip(input1), (input2))
output = dict((input1, input2) for (input1[i], input2[i]) in range(0, len(input2)))
print(output)
</code></pre>

<p><em>Don't care too much that comment(#)</em>
I found a post may help my probelm from stack overflow.
<a href="https://stackoverflow.com/questions/1747817/create-a-dictionary-with-list-comprehension-in-python">Create a dictionary with list comprehension in Python</a></p>

<p>I did my best but I coudn't solve this...(New one below # comment, It is what I tried to reading that post)</p>

<p>Thanks to read my question!</p>
