SyntaxFix
Write A Post
Hire A Developer
Questions
A slightly more readable alternative solution: sys.stdout.write(code.ljust(5) + name.ljust(20) + industry)
sys.stdout.write(code.ljust(5) + name.ljust(20) + industry)
Note that ljust(#ofchars) uses fixed width characters and doesn't dynamically adjust like the other solutions.
ljust(#ofchars)