Skip to content
Snippets Groups Projects
Commit 3101dc26 authored by Pravesh's avatar Pravesh
Browse files

lab2 after eval

parent 37beb9af
Branches
No related tags found
No related merge requests found
def chars_mix_up(a, b):
new_a = b[:2] + a[2:]
new_b = a[:2] + b[2:]
return new_a + ' ' + new_b
String a=input("Enter first string")
String b=input("Enter second string")
print(chars_mix_up(a,b))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment