compare the first three characters of a string Get link Facebook X Pinterest Email Other Apps March 28, 2022 compare the first three characters of a string s=input() p=input() print(s[:3]==p[:3]) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment