Internet Access by Area Code
Internet Service by City/State
 FAQFAQ   SearchSearch     RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  ISP Guide    

Using 'input' to populate a list



 
Top Rated Dialup Internet Service Providers & Top Rate DSL Provider
Post new topic   Reply to topic    ISP Guide -> ISP Guide Forum Index -> Tips & Tricks  
Get Instant quotes for
Home: DSL Cable Satellite
Business: DSL T1 VoIP


Latest Discussions 
   Installing Ruby on Linux
   Recover usb flash drive, memory card dat ...
   How can I unlock my iPod nano?
   Ask Provides Search Privacy Tool
   FastPrint 1.60, Faster Way to Do It
Popular Discussions 
  aol mail - check my aol mail - how to ch ...
  iexplore.exe - how to remove iexplore.ex ...
  ipodservice.exe - how to remove ipodserv ...
  How do you cancel AOL????????
  mshta.exe - what is mshta.exe removal pr ...
Hottest Discussions 
   aol mail - check my aol mail - how to ch ...
   How do you cancel AOL????????
   mshta.exe - what is mshta.exe removal pr ...
   iexplore.exe - how to remove iexplore.ex ...
   hpcmpmgr.exe - how to remove hpcmpmgr.ex ...
Other Topics
What is the primary web browser to use?
Windows media player issues
Spam filtering issues
How to find a new internet service provised?
Email with virus
How to get rid from Sassier wormth?
Moderators Wanted!!
modem help
Tips and tricks for improving dial up connection speeds
I got Tips on Avoiding Computer Worms
Other Forums
Hardware/ Networking and All Operating Systems (Windows 98/XP/MAC/Linux)
Internet Utilities & Software
Technical Questions & Answers
Author
Message
jimmy



Joined: 08 Jul 2004
Posts: 166

Offline

PostPosted: Mon Oct 01, 2007 3:06 am    Post subject: Using 'input' to populate a list Reply with quote

Hello All,

There is a way to populate a list using either the 'input' or 'raw_input'. User input and add to a list so that it can be used in a program to give the average of the numbers given by the user.

You could either split raw input and take each word into a list, or maybe something like,

Code:
====
import sys
sys.stdin.readlines()

Cool
 
Display posts from previous:   
Post new topic   Reply to topic     ISP Guide -> ISP Guide Forum Index -> Tips & Tricks All times are GMT - 6 Hours
Email this topic to a friend

Page 1 of 1
ISP Disscussion Topics

Main Forum Category
 
Other Network Forums
 •  ISP Discussions & Reviews
 •  ISP Technical Support
Broadband ISP Discussion
Forum Announcements and Site Reviews
 
 • Broadband Forum  
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Netscape User Files location with Windows XP 2 frank 772 Tue Jul 06, 2004 5:56 pm
Charles
No new posts Microsoft Outlook 2003 User profiles 2 denny 1215 Fri Jul 02, 2004 4:59 pm
Tod
No new posts Error: No Matches Found for <User Name> 2 Curt 4098 Thu Jul 01, 2004 8:39 am
Curt
No new posts What's the command for connection speed and stats on my USER 0 jenipher 916 Fri Jun 25, 2004 4:48 pm
jenipher
No new posts Trip.net-The Cheap ISP 4 michel 1312 Thu Jun 17, 2004 6:23 pm
Guest
 



Premium Network Of Directories
Affiliate Resources
Free Web Directory
Best Bargain
Domain-Name Registration
Web Hosting Provider
ISP Providers
Free Downloads
Broadband Internet
Outsourcing company Directory
Data Recovery Guide
Affiliate Resources
 
Other Internet Resources: ISP Resources