The code is equal to first letter of a book followed by the number of character in the title. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

The code is equal to first letter of a book followed by the number of character in the title.

Ex the book "Harry Potter", the code would be:H12 as it contains 12 character (including space) please help https://code.sololearn.com/cl1xxf103419/?ref=app

4th Aug 2021, 2:11 PM
saquib
saquib - avatar
4 Answers
+ 4
saquib , it looks like your task description is not as complete as it could be. if you really have a problem, we need some more details from you: ▪︎give a clear and complete description about your task ▪︎if there are error messages please post them here ▪︎give at least one sample with input data and the expected output ▪︎to be able to find out the issues you have, we need to see your code     => please put your code in playground, save it there and post a link to it here. thanks for your understanding!
4th Aug 2021, 2:42 PM
Lothar
Lothar - avatar
+ 3
Hi Saquib, This topic had been discussed before. So please use the search bar to find similar threads using 'python book title' search term. It is also advised to switch the scope filter to 'Most Popular'. Good luck! 👍
4th Aug 2021, 2:33 PM
Ipang
+ 2
#Enter your name Name = input("Enter your name\n") #The len() function returns the number of items in an object. print(len(Name)) #Using array method to get first letter of input print(Name[0])
4th Aug 2021, 2:38 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Thanks for the help
4th Aug 2021, 4:09 PM
saquib
saquib - avatar