0

Python Query for adding Spaces in a pattern

https://code.sololearn.com/cW28atkqdJ0d/?ref=app How to proceed further?

31st Mar 2019, 8:10 AM
Abhay Jindal
Abhay Jindal - avatar
1 Respuesta
+ 1
fixed for you You have loads of problems with your original code... causing lots of errors. - use proper comments - use lowercase letters for function names (print, for) - use regular apostrophes, not the curved windows-styled ones - use correct indentation inside for loop (convention is 4 whitespaces) - do NOT use the "list" keyword as variable name With a lot of list slicing, the code below produces the expected output. https://code.sololearn.com/cpXMHU5g1Th6/#py
3rd Apr 2019, 12:56 PM
Tibor Santa
Tibor Santa - avatar