<ask> program python

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
ijal_ferdi
Posts: 4
Joined: 21 Apr 2013, 21:46
Location: surabaya,indonesia

<ask> program python

Postby ijal_ferdi » 21 Apr 2013, 21:56

buat looping dalam looping pke for di python gmn gan??? :(

ini script di C++...kalo ngrubah di python gmn??help... :(
#include
#include

void main()
{
int tinggi; //untuk tinggi segitiga
clrscr();

cout>tinggi;
cout=1;s--)
{
cout<<" ";
}
for(int kolom=1; kolom<=baris; kolom++)
{
cout<<"* ";
}
cout<<endl;
}
User avatar
pupil
Posts: 458
Joined: 08 Jan 2012, 06:24
Location: /home/pupil
Contact:

Re: <ask> program python

Postby pupil » 22 Apr 2013, 15:10

Kalau belajar pemrograman, jangan seperti ini. Pahami setiap fungsi yang digunakan.

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 8 guests