the-magnificents / 04-02-2021-Carpentry-for-HGIS

A carpentry workshop focused on Digital Humanities audience that works with Geospatial Data.
Other
2 stars 3 forks source link

04-02-2021-Carpentry-for-HGIS/02_Day_2_Python_GIS/exercise/B0_Exercise_libs #66

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Working with libraries — Python essentials for GIS learners

https://the-magnificents.github.io/04-02-2021-Carpentry-for-HGIS/02_Day_2_Python_GIS/exercise/B0_Exercise_libs.html

cforgaci commented 3 years ago

Done. Some answers/hints: Exercise: Locating the Math Module

  1. use the function that does the opposite of square root
  2. I guess sqrt() is more direct and shorter

Exercise: Locating the right Module

  1. the name of the module is in the first line of the exercise
MertenNefs commented 3 years ago

bases = 'ACTTGCTTGAC' import random var = random.choice(bases) print(var)