LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 04: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, 06:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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



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 12:57 AM
PYTHON, making new functions part of the language? raskol Programming 1 04-01-2008 09:58 AM
LXer: OpenOffice.org Calc functions, part 1: Understanding functions LXer Syndicated Linux News 0 03-31-2007 12:01 PM
Crawling a directory and executing Python functions. Travis86 Programming 2 07-06-2005 01:06 AM
Calling KDE/C++ functions from python/perl and vice versa yogeshm02 Programming 1 04-30-2005 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration