Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

stores number in set using input in python

num1 = int(input("Enter number 1
"))
num2 = int(input("Enter number 2
"))
num3 = int(input("Enter number 3
"))
num4 = int(input("Enter number 4
"))
num5 = int(input("Enter number 5
"))
num6 = int(input("Enter number 6
"))
num7 = int(input("Enter number 7
"))
num8 = int(input("Enter number 8
"))

s = {num1, num2, num3, num4, num5, num6, num7, num8}
print(s)
Comment

PREVIOUS NEXT
Code Example
Python :: how to python string up 
Python :: are there learning activities for django-debug-toolbar 
Python :: python chunk text 
Python :: pandas find column with max value for each row 
Python :: how to connect ip camera to opencv python 
Python :: webdriver.chrome() python not working 
Python :: python 3 docs 
Python :: noob python 
Python :: sns.savefig 
Python :: covert docx to pdf with libraoffice in python 
Python :: random list 
Python :: django give access to media folder 
Python :: calculate the surface area of a cylinder python 
Python :: how to adda vaslues to data frame 
Python :: permutation and combination in python 
Python :: python odd or even 
Python :: Openpyxl automatic width 
Python :: change edit last line python 
Python :: bytestring python 
Python :: python stop stdout 
Python :: number length python 
Python :: pure imagination 
Python :: pytorch torchaudio torchvision cu113 
Python :: minio python create bucket 
Python :: if condition python 
Python :: aws django bucket setting 
Python :: how to make a static variable in python 
Python :: python 2 print sep end 
Python :: list addition within a list comprehension 
Python :: how to import files from desktop to python 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =