Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to convert input to uppercase in python

string = str(input("Your name:- ")).upper()
print(string)
Comment

lower and upper case user input python

word = input("Please Enter a word:").lower()  # Or `.upper()`
Comment

PREVIOUS NEXT
Code Example
Python :: python read text file look for string 
Python :: change plot size matplotlib python 
Python :: timer pythongame 
Python :: force utf-8 encoding python 
Python :: python get files in directory 
Python :: find the number of nan per column pandas 
Python :: check django version 
Python :: get path of notebook 
Python :: how to edit variables with functions in python 
Python :: converting datetime object format to datetime format python 
Python :: how to find the multiples of a number in python 
Python :: make first row column names pandas 
Python :: round godot 
Python :: python print without leading whitespace 
Python :: python pandas dataframe from csv index column 
Python :: cv2 videocapture program for python 
Python :: pandas filter on range of values 
Python :: python filename without extension 
Python :: sort list of dictionaries python 
Python :: libreoffice add line in table 
Python :: how to rotate plot in jupyter 
Python :: autopy in python install 
Python :: how to read files in python 
Python :: remove empty rows csv python 
Python :: python filter 
Python :: reload function jupyter notebook 
Python :: how to create a python venv 
Python :: how to use prettytable with python 
Python :: get stock data in python 
Python :: flask_mail 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =