1.

Question 1Create a Python list accepting five or six elements from the user and print the second, third and fifth elements by specifying their places.​

Answer»

# 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))



Discussion

No Comment Found