- 11

Write a for loop in python to *******

I want full coding

29th May 2017, 10:42 AM
lorshan
lorshan - avatar
9 Answers
- 1
for i in range(6): print("*",end="") thats it
29th May 2017, 10:50 AM
Rohan Vijayvergiya
Rohan Vijayvergiya - avatar
+ 22
It's your homework dude! Start the Python course, learn about for loops and create it... ~_~
29th May 2017, 10:47 AM
Dev
Dev - avatar
29th May 2017, 11:51 AM
Kailash Loncha
Kailash Loncha - avatar
+ 4
i want you to do what the great man from the west said : "Maximum Effort" no effort no learning.
29th May 2017, 10:47 AM
Setiawan Next
Setiawan Next - avatar
+ 1
I want another help I want find number between 0 to 1000 but finding number should suitable to following condition ex - 370 is a number 370 = 3^3+7^3+0^3 ^ meansto the power of I want find more numbers like these write a python coding for this situation
29th May 2017, 4:20 PM
lorshan
lorshan - avatar
0
but thanks rohan
29th May 2017, 10:52 AM
lorshan
lorshan - avatar
0
for i in range(5): for j in range(i): print("*",end="") print("\n") for i in range(5): for j in range(4,i-1,-1): print("*",end="") print("\n") this is a way to do the pattern ,but its not the write way because its a hard code.
29th May 2017, 11:16 AM
Rohan Vijayvergiya
Rohan Vijayvergiya - avatar
5th Jun 2017, 4:39 PM
Oceanborn
Oceanborn - avatar
- 3
if output like below how to write code * ** *** **** ***** **** *** ** *
29th May 2017, 10:52 AM
lorshan
lorshan - avatar