What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-10 04:48:10
capitalize string python
# Python string capitalization string = "this isn't a #Standard Sntence." string.capitalize() # "This isn't a #standard sentence." string.upper() # "THIS ISN'T A #STANDARD SENTENCE." string.lower() # "this isn't a #stand... Add solution -
Python 2021-10-08 04:39:04
short name in python
Raw_name = input("\nEnter Full Name : ") name = Raw_name.strip() bname = name.split(' ') lenofstr = len(bname) fname = bname[0] leofstrstr = str(lenofstr) vlname = int(lenofstr) - 1 lname = bname[int(vlname)] print("\nHi,"+bname[0]) ... Add solution -
Other 2021-09-30 18:49:02
Simple dictionary in Python
import string # Edited by Sadman Sakib dic = {'greet': 'something that you say or do to greet somebody', 'sleep': ' [intransitive] to rest with your eyes closed and your mind and body not active', 'morning': 'The early part of the day from... Add solution
Best helpers
Ranking is empty