Skip to content

Instantly share code, notes, and snippets.

View Free-tek's full-sized avatar

Adewole Babatunde Free-tek

  • Bridgecard
  • Lagos
View GitHub Profile
@Free-tek
Free-tek / question1.py
Last active November 22, 2020 19:22
Problem solving
#This solution was done in python3
#QUESTION A
def solution(string, integer):
alphabets = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
result = []
if len(string)%2 == 0:
length = int(len(string)/2)