title: How do I convert a version into a string without version in azure pipelines?
body: <p>I do have some python version parameters which look like below:</p>
  
  <pre><code>parameters:
    pythonVersions: [2.7, 3.7, 3.6, 3.5]
  </code></pre>
  
  <p>During matrix expansing I do <code>python.version: ${{ version }}</code> but later I need to be able to compose the string <code>py27</code> from <code>python.version</code> but I was not able to find documentation on how to perform the conversion.</p>
  
  <p>Doing <code>py$(python.version)</code> gets my py2.7 and I need to get rid of the dot. I also trying to index [0] but it is not supported.</p>