Question: Programming Language in Python I can use any resource. [Dots Alignment] Write the following list in your program and print the elements out one per
[Dots Alignment] Write the following list in your program and print the elements out one per line ( ) and align the dots vertically as explained in class. The list contains integer, float and string. When printing integer, do not add dot and assume a "hidden" dot is located at the end. When encountering string (such as the 'Hello World" below, don't consider it in alignment. Skipit. String inside a list carries quotes.) L=(-123.467, 100, "Hello World', 15.79, 12.345E5, -88.40, 2.2E10, 0] If you don't defend bad input for your system, zero point will be assigned Instructor wants you learn right the early the better. During grading we shall change the Llist. It may have unknown amount of elements but shall abide by the rule: mix of integer/float/string Do not use string format such as {0.4f) to do alignment; must use free format without constraint, reminded in class. You are also discouraged to apply re (Regular Expression) because it is not easy to learn by novices
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
