Seemingly Simple Python Question [ANSWERED]
By
LtStaffel
in Programming
in Programming
Go to solution
Solved by fizzlesticks,
If the items in the list are strings you can do
print ''.join(a)
or if they're not strings
print ''.join((str(x) for x in a))
This will also be faster than using a loop and printing each item.
-
Topics
-
5
-
YoungBlade ·
Posted in CPUs, Motherboards, and Memory9 -
7
-
derekchan ·
Posted in New Builds and Planning9 -
1
-
2
-
7
-
5
-
7
-
kerriya ·
Posted in Cases and Mods14
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now