Thread: Phytonhelp
View Single Post
  #1  
Old 03-10-2011, 01:03 AM
Python Python is offline
Senior Member
 
Join Date: Jun 2009
Posts: 4,684
Default Phytonhelp

I want to create a function wich prints all numbers over 1000000. So the user can input for example 500 and that dosent print but if you input 1005000 it prints. My code far is. v = [600,6300330,47, 1000001] for x in v if x >1000000: print x
__________________
Python
Domain Name Forum
Reply With Quote