1,8,27,----------125 in python as using loop,rang,while
Answers
Answered by
2
class loop
{
public static void main (String args[])
{
int i=1,p=0;
while(i <=25)
{
p=i*i*i;
System.out.print(p+",");
i++;
}
}
}
{
public static void main (String args[])
{
int i=1,p=0;
while(i <=25)
{
p=i*i*i;
System.out.print(p+",");
i++;
}
}
}
PrinceJK786:
hii
Similar questions