-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcley.py
More file actions
32 lines (23 loc) · 671 Bytes
/
cley.py
File metadata and controls
32 lines (23 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Name: First and Last
name = 'Clement Mlay'
# Email
email = 'mlay.clement@gmail.com'
# Slack Username
slack_username = '@clementmlay'
# Twiter
twitter = '@clement_mlay'
# Biostack
biostack = 'Genomics'
print(f'Name: {name} \nEmail: {email} \
\nSlack Username: {slack_username} \ntwitter Username: {twitter} \nBiostack: {biostack}')
# Humming Distance
def HammDist(slack_username,twitter):
a=slack_username
b=twitter
if len(a)>len(b):
print('Hamming Distance is:', len(a)-len(b))
elif len(b)>len(a):
print('Hamming Distance is:', len(b)-len(a))
else:
print('No Hamming Distance')
HammDist(slack_username,twitter)