Floyd's Triangle :
1
2 3
4 5 6
7 8 9 10
..
and so on ..
1
2 3
4 5 6
7 8 9 10
..
and so on ..
Python 2.7 code to print Floyd Triangle :
- # Floyd's triangle
- # https://beginer2cs.blogspot.com
- if __name__=='__main__': #check for namespace
- row = int(raw_input('Enter Number of row of floyd triangeyou wanna print : '))
- x=1 #initiate from x=1
- for i in range(1,row+1): #this will create floyd triange
- st=''
- for j in range(i):
- st=st+' '+str(x)
- x +=1
- print st
OUTPUT :
Are you interested in attaining enlightenment and personal growth?
ReplyDeleteTry doing the following two yoga exercises daily:
Sodarshan Kriya Yoga
Sat Nam Kriya Yoga
Are you interested in preventing and curing cancer, Alzheimer's, high blood pressure, and many other common diseases using an inexpensive, natural indian spice called turmeric?
Take two teaspoons full of turmeric powder mixed with a cup of warm soy milk (or any kind of non-dairy milk that you'd like). Also eat 2 or 3 black peppercorns along with it, as the pepper helps your body absorb the turmeric better. You also need fat for the turmeric to be absorbed properly, which is why drinking turmeric mixed in water won't work. You have to drink it with milk or some fatty based liquid. Do this twice a day and you will start to feel amazing within a couple of weeks.
Lastly, please read the following two ancient indian scriptures which talk about the divine love of God:
Ananda Vrindavan Campu PDF
Govinda Lilamrta PDF
If you have any questions about yoga, meditation, spirituality, or natural cures, feel free to email me at delugar@mail2tor.com
I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Data Science with Python , kindly contact us http://www.maxmunus.com/contact
ReplyDeleteMaxMunus Offer World Class Virtual Instructor led training on TECHNOLOGY. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us.
Sangita Mohanty
MaxMunus
E-mail: sangita@maxmunus.com
Skype id: training_maxmunus
Ph:(0) 9738075708 / 080 - 41103383
http://www.maxmunus.com/
Find the best business loan provider in World! Here at Capital Funds Investment Ltd, you're able to get a business loan immediately with lowest inters.Email: (loancfifundsltd@gmail.com) whats-app/Call us now (91) 892 950 9036.
ReplyDeleteAddress:-
Licensed Money Lender
License No: 14/2017
Business Reg. Number: 53119127C
91 Ubi Crescent
#03-03, India 408559
Phone: (91) 892 950 9036
Email : loancfifundsltd@gmail.com