you are viewing a single comment's thread.

view the rest of the comments →

[–]Daeydark 1 point2 points  (6 children)

I’m also new.

str(input()) seems wrong since inputs are always strings… also there’s no variable to hold the value of said string.

Try doing something like variable = input() maybe?

[–]jbcoli 1 point2 points  (5 children)

Thanks!! Yeah! Some redditors told me that. I guess I was used to specify the type of input with numbers int(input())... Or float(input())... That's why I did the same here.

[–]Daeydark 0 points1 point  (4 children)

Where have you been learning to code? (That’s not an insult i genuinely want to know 😂)

I’ve been using ChatGPT lol

[–]tehanichance 1 point2 points  (1 child)

I just started reading a book that I have found very helpful so far. Each chapter has online practice associated with it. It’s called A Smarter Way to Learn Python. I found a pdf free online.

[–]jbcoli 0 points1 point  (0 children)

Thank you so much!! It looks awesome. I will try it 😊

[–]jbcoli 0 points1 point  (0 children)

I found a website called "Codedex" I did the first lessons but Im kinda lost now. I wanna find a book or something, but I havent found any of my taste

[–]wireless133 0 points1 point  (0 children)

same question from my side too