9,595
Loading...
Uploader Comments (derekbanas)
see all
All Comments (71)
-
Why do eveyone who you ask help for do that teaching voice that makes you feel so stupid?
-
Christians don't spoil sex they create it
-
@XStriderHiryuX You're very welcome :) I'm glad you liked it
-
Awesome tutorial, you teach me a lot man... Thank you
Loading...
Hey man you got my sub! I just have a question. I'm trying to script a little question answer thing
and when I type mine = int(mine) I get a error message when I type the answer.
Any help you could give would be greatly appreciated
Thanks,
Kag707
Kag707 3 days ago
@Kag707 variables in python are different from most languages. What is your error message?
derekbanas 3 days ago
@derekbanas it would not let me post it. But it says that mine =int(mine)
Value error: invalid literal for int() with base 10 'Kristian'
Kag707 3 days ago
@Kag707 This happens when you try to cast a string into an integer and this string does not really contain a digit. I hope that helps
derekbanas 3 days ago
@derekbanas Yes that helps a lot, is there anyway I could do it with letters?
Thanks
Kag707 3 days ago
@Kag707 You can't define a string as an int unless it contains numbers. Don't mess around with encoding until you get good at coding. Encoding can sometimes be a nightmare with Python
derekbanas 3 days ago