sorry, i'm using:
python 2.7.1
on linux2
GCC 4.6.0
with gedit to write the program
User Profile
Collapse
Profile Sidebar
Collapse
tony14067
Last Activity: Oct 28 '11, 03:27 PM
Joined: Sep 19 '11
Location:
-
python 2.7.1
GCC 4.6.0
on Linux2
and using gedit to write the python program.
Is that all you need?Leave a comment:
-
Python Upside Down Triangle using For loop
Code:def print_row(col_count): for col in range(col_count): print "*", print def print_rect(act_len): for row in range(act_len): print_row(row) leg_len = int(raw_input("How long are the legs of the triangle?\n")) act_len = leg_len +1 print_rect(act_len) print "Bye!"
5...
No activity results to display
Show More
Leave a comment: