Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

check input in python

# Program to check input 
# type in Python
  
num = input ("Enter number :")
print(num)
name1 = input("Enter name : ")
print(name1)
  
# Printing type of input value
print ("type of number", type(num))
print ("type of name", type(name1))
Comment

PREVIOUS NEXT
Code Example
Python :: instabot python 
Python :: create new dataframe with columns from another dataframe pandas 
Python :: merge two Python dictionaries in a single expression 
Python :: pyautogui moveTo overtime 
Python :: __call__ python 
Python :: pandas gropu by 
Python :: python groupby sum single columns 
Python :: python keyboardinterrupt 
Python :: python function as parameter 
Python :: pandas name of day 
Python :: qlistwidget item clicked event pyqt 
Python :: unshorten url python 
Python :: python how to import library absoluth path 
Python :: python get last element of iterator 
Python :: python class variables make blobal 
Python :: python cheat sheet 
Python :: import spacy nlp = spacy.load("ar_core_web_sm") 
Python :: registration of path in urls.py for your apps for views 
Python :: how to find 1 st digit in python 
Python :: program for factorial of a number in python 
Python :: commentaire python 
Python :: how to make a list string in python 
Python :: square all elements in list python 
Python :: isnull().mean() python 
Python :: django date formatting 
Python :: sort dict by value python 3 
Python :: dataframe add row 
Python :: use a dictionary to make a column of values 
Python :: matplotlib location legend 
Python :: scroll down selenium python 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =