Skip to content

Instantly share code, notes, and snippets.

@kingo987
kingo987 / gist:be298c84c81b44d694e7e31cfb434e43
Created May 11, 2021 03:23
Two Strings, HackerRank Solution
q = int(input())
for q_itr in range(q):
count = 0
s1 = input()
s2 = input()
c = [i for i in s2]
for i in range(len(c)):
if (s1.find(c[i]) != -1):
count +=1
@kingo987
kingo987 / What's Your Name?
Created March 22, 2020 05:03
What's Your Name? hackerRank Solution
def print_full_name(a, b):
print(f"Hello {a} {b}! You just delved into python.")
if __name__ == '__main__':
first_name = input()
last_name = input()
print_full_name(first_name, last_name)