Skip to content
Sign UpLog In
Profile icon

Mark Gu

@gumark
Twitter
Website
  • NUMBER GUESSING GAME?

    Cover page
    Made with Python

    guess a number i made this in coding class when the teacher was 'pretending' to make the same thing.

    Recent comments (0)
Repls
Community
gumark
gumark
shared a Post
1 year ago
why?
i did this code, but it doesent work m,n=map(split(int(input()))) someone tell me why?
MrVoo
MrVoo
What error do you get?1 year ago
gumark
gumark
shared a Post
1 year ago
im dumb and how do you print lists with out the brakets. Thanks random people
MrVoo
MrVoo
for i in list: print(i) `1 year ago
WWEMONSTERMONST
WWEMONSTERMONST
You can print elements of a list without brackets by using the starred expression. For example: nums = [1, 2, 3, 4] print (*nums) # 1 2 3 4 `1 year ago
SixBeeps
SixBeeps
There's a tone of ways to do it. I think the canonical solution is to use .join() and using something like ", " as the separator.1 year ago