Skip to content
Snippets Groups Projects
Commit 86abfb84 authored by Bianca Laker's avatar Bianca Laker
Browse files

Delete Python_course_2021_exercises_A.ipynb

parent 222e2f54
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id: tags:
# Python course 2021 - Exercises A
%% Cell type:markdown id: tags:
## Part1 - Variables
%% Cell type:markdown id: tags:
---
1.1) Save 3.14159265359 in a variable of type float!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.2) Convert variable from float to integer!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.3) Convert variable back! What happens?
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.4) Convert variable type to string!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.5) Save 'Python' in a string variable!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.6) Convert variable type to float! What happens?
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
1.7) What is a pitfall in regards to division when working with int/float?
%% Cell type:markdown id: tags:
---type your answer here (double click)---
%% Cell type:markdown id: tags:
## Part2 - Functions
%% Cell type:markdown id: tags:
Primer: 'ATGCCATGCATTCGACTACG'
%% Cell type:markdown id: tags:
---
2.1) Calculate length of primer and print it!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
2.2) Get number of 'G's and print it!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
2.3) Write a function to analyze the nucleotide composition of a primer and print it!
%% Cell type:code id: tags:
```
```
%% Cell type:markdown id: tags:
---
2.4) Is it a suitable primer? Why (not)?
%% Cell type:markdown id: tags:
---type your answer here (double click)---
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment