73418/how-to-create-the-following-pattern-using-python
Hi, @Roshni,
You can use two for-loops for this:
for i in range(1,6): for j in range(1,i+1): print('*',end='') print()
print(datetime.datetime.today()) READ MORE
I think you should try: I used %matplotlib inline in ...READ MORE
Hi, good question. It is a very simple ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
FWIW, the multiprocessing module has a nice interface for ...READ MORE
Hey, @Roshni, It is very simple to execute, ...READ MORE
OR
Already have an account? Sign in.