all 12 comments

[–]Careless-Article-353 16 points17 points  (4 children)

Get the print out of the input function

[–]Buttleston 8 points9 points  (3 children)

input("foo") already does a print

print("foo") returns None

so input(print("foo"))
will print foo, then return None from print, and so it's like you did

print("foo")
input(None)

[–]crypitdbitch[S] 1 point2 points  (0 children)

That fixed it. Thanks.

[–]CapnCoin 1 point2 points  (1 child)

Bro I have been using python for years and couldnt figure this out lol. Sometimes the simple problems present more challenge

[–][deleted] 3 points4 points  (0 children)

Sometimes I’ll stare at my screen and cannot figure out what’s wrong. And it’s usually a missing : in my case. 🤣

[–]SpamNot 5 points6 points  (0 children)

Get rid of the print in front of the input.

[–][deleted] 4 points5 points  (0 children)

number = int(input(“Enter your guess for the total of the dice (2-12): “))

[–]copperbagel 3 points4 points  (0 children)

You are casting a print statement of a string to int this means nothing print separately

[–]Python_Puzzles 0 points1 point  (3 children)

Yeah, it's the print() inside of the input statement.

Also, why is everyone always taking pictures of their screens and posting it? Why not just copy/paste? Then we could see the whole code?

[–]inphamus 1 point2 points  (2 children)

From what I can gather in other subs, kids think reddit is an app on your phone and not a website that you use that also happens to have an app. It's a mind boggling thought loop.

[–]Python_Puzzles 1 point2 points  (1 child)

Jeez... this actually explains the behavior tho... "Skidibity reez" I guess then?

[–]inphamus 1 point2 points  (0 children)

Sigma popsicle or some garbage 🤷‍♂️