| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Finish all the hands on sessions. Where applicable, make a python program with the solution and add it to this repository.
Next, add a solution file for each of the following exercises.
First we are going to make a list and fill it with a simple sequence. Then we are going to use this list to print something.
We are going to make a repeating DNA sequence and extract some subsequences from it.
Hint: All elements in a set are unique.
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.
Calculate all coordinates of the line x=y with x < 100.
We are going to store the output of a function (f(x)=x2) together with its input in a dictionary.
Assume a dictionary that has country names as keys and as values another dictionary with the following keys: continent, capital, population. Example:
{
'The Netherlands': {
'capital': 'Amsterdam',
'population': 17283008,
'continent': 'Europe',
},
'France': {
'capital': 'Paris',
'population': 67186638,
'continent': 'Europe',
},
'USA': {
'capital': 'Washington, D.C.',
'population': 327167434,
'continent': 'North America',
}
}
| Back | FazBrowse Home | New Git URL |