Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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)
 
PREVIOUS NEXT
Tagged: #stores #number #set #input #python
ADD COMMENT
Topic
Name
8+6 =