- python was conceived in 1980 by Guido van Rossum. #version history python 1.0-- 1994 python 2.0--2000 python 3.0--2008 #latest version python 3.10.6--2 August 2022 #Name python python developers aim for it to be fun to use the name python is tribute to the British comedy show monty python
#Write a Python script to create a list of first N even natural numbers. list=[] num=int(input( "Enter the numbers:" )) for i in range( 1 ,num): if i% 2 == 0 : list.append(i) print(list) print(type(list))
Comments
Post a Comment