String part 2 challenge solution

PHOTO EMBED

Fri Aug 25 2023 10:50:48 GMT+0000 (Coordinated Universal Time)

Saved by @pythonHub #python #python-hub #basics

input_string = input()
input_string = input_string.upper() #to convert all letters of
#string to upper case
print(len(input_string)) #to count the total no. of characters
str_to_list = input_string.split(",") #to convert the string to list
#so that we can join the list with full stops
print(".".join(str_to_list)) #to join the elements of the list to
#form a full stop separated string
content_copyCOPY