LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-18-2009, 05:14 PM   #1
dale504
LQ Newbie
 
Registered: Jan 2008
Location: IL
Distribution: f8
Posts: 29

Rep: Reputation: 15
python functions help!


hello I an trying to learn some python and need help here is what I am trying to do..

Using a text editor, create a Python script named tryme3.py .
Write a function in this file called nine_lines that uses
three_lines to print nine blank lines. Now add a function named
clear_screen that prints out twenty-five blank lines. The last
line of your program should be a call to clear_screen.

can any one help?
thanks
 
Old 04-18-2009, 07:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed the original in favour of the more sensibly placed
dupe in programming.
http://www.linuxquestions.org/questi...n-help-720091/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
calling functions python UpLink2008 Programming 3 08-29-2008 01:57 AM
PYTHON, making new functions part of the language? raskol Programming 1 04-01-2008 10:58 AM
LXer: OpenOffice.org Calc functions, part 1: Understanding functions LXer Syndicated Linux News 0 03-31-2007 01:01 PM
Crawling a directory and executing Python functions. Travis86 Programming 2 07-06-2005 02:06 AM
Calling KDE/C++ functions from python/perl and vice versa yogeshm02 Programming 1 04-30-2005 12:54 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration