Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

index operator with if and elif statement in python

#index operator with if and elif statement in python
name = input("What is your name?: ")
if(name[0].islower()):
    name = name.capitalize()
    print(name)
elif(name[0].isupper()):
    print("Hellow "+name)
Comment

PREVIOUS NEXT
Code Example
Python :: numpy array filter and count 
Python :: python generic class inheritance 
Python :: python recase 
Python :: how to convert multiple jupyter notebook into python script with single commanf 
Python :: code-server python extension 
Python :: pandas add prefix to some range of columns 
Python :: 2d arrary.push in python 
Python :: pip_install_packages2.bat 
Python :: Iterate through string in chunks in python 
Python :: urlib3 json 
Python :: python exception vs error 
Python :: how to put quotes in string python 
Python :: install first person controller python 
Python :: <function chr(i, /)> error in python 
Python :: django query column 
Python :: which company has the largest servers 
Python :: Collecting pipnev 
Python :: cvhaardetectobjects 
Python :: multiclass.roc plot title 
Python :: resizing django embed player 
Python :: docker python heelo world doesnt print anything 
Python :: remove words from set if in list python site:stackoverflow.com 
Python :: combine int and object columns into one 
Python :: fibonacci program in python 
Python :: pandas continues update csv with exception 
Python :: NPAPI 
Python :: how to call a specific item from a list python 
Python :: attributeerror: module 
Python :: python find matching string regardless of case 
Python :: > not supported between tuple and int 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =