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
Enumerate() method adds a counter to an ...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
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.