Acronyms - Python

Solve the question

abbre = input().split()
acron=""
for i in range(len(abbre)):
    acron+=abbre[i][0]
    if(i!=len(abbre)-1):
        acron+='.'
print(acron)
1 Like

Hope this isn’t from an ongoing contest

l = list(map(str,input().split()))
l = [i[0] for i in l]
print('.'.join(l))
1 Like

No brother, This is part of my learning. Not involved in any contests as of now.

@dazlersan1 @anon54832715 @yuvsaha123

Thanks for helping out.

can one of you please go through my another post!?
need help with the temperature conversion code

https://discuss.codechef.com/t/code-temperature-conversion-python/99333?u=chanduy45

I don’t think these problems require assistance.

1 Like

Hey buddy try to solve a problem as much as you can and then ask for assistance. Don’t do like this. We are here to assist you.

Try to solve as much as you can and ask whenever you got stuck

1 Like

Yes, Thank you. :blush:

just started my learning in python.

babysteps level.