Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python name input


name = input("Enter your name: ")
print(name)
print("Hello, {name}. Nice to meet you!") // Output: Hello, (user's name). Nice to meet you!
Comment

PREVIOUS NEXT
Code Example
Python :: tkinter prevent window resize 
Python :: file base name and extension python 
Python :: django check if user is admin 
Python :: tkinter widget span multiple colums 
Python :: only get top 10 python dataframe 
Python :: convert list into integer in python 
Python :: python closure 
Python :: how to find the last item of a list 
Python :: plot size 
Python :: find substr within a str in python 
Python :: sort a list numbers in python 
Python :: get prime number python 
Python :: print in binary python 
Python :: python 2 is no longer supported 
Python :: urllib3 python 
Python :: How to scale a pandas dataframe 
Python :: copyfile pyhon 
Python :: tkinter slider 
Python :: length of dataframe 
Python :: pandas describe kurtosis skewness 
Python :: get range of items of python list 
Python :: find length of text file python 
Python :: failed to execute script 
Python :: return count of substring in a string 
Python :: datetime strptime format 
Python :: django boilerplate command 
Python :: select rows from a list of indices pandas 
Python :: get month day year 12 hour time format python 
Python :: lowercase all text in a column 
Python :: convert text to speech in python 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =