Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

taking String input from user in python

User_Name = str(input("What is your name:- "))
print("Hi "+User_Name+" It's me python")
Comment

python input string

name = input("What's your name? ")
print("Hello, " + name + "!")
Comment

PREVIOUS NEXT
Code Example
Python :: how to access the last element of a list in python 
Python :: append element an array in python 
Python :: count number items in list python 
Python :: text animation python 
Python :: Python Add a string in a certain position 
Python :: convert string to float python 
Python :: install easygui conda 
Python :: gpt-3 tokenizer python3 
Python :: python list of dictionaries 
Python :: check for string in list pytho 
Python :: correlation between categorical and continuous variables 
Python :: iterating index array python 
Python :: create a date list in postgresql 
Python :: pandas dataframe add two columns int and string 
Python :: python print date, time and timezone 
Python :: register template tag django 
Python :: pyspark add_months 
Python :: python random select no replace 
Python :: train_test_split from sklearn.selection 
Python :: restrict ticks to integers matplotlib 
Python :: how to set the value of a variable null in python 
Python :: how to count repeated words in python 
Python :: python check if file is writable 
Python :: how to use %s python 
Python :: django dumpdata specific app 
Python :: python program to find second largest number in a list 
Python :: python __repr__ 
Python :: NumPy unique Example Get unique values from a 1D Numpy array 
Python :: css selenium 
Python :: waiting in python. time , sleep 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =