Ask coding questions

← Back to all posts
why is it showing me a type error and how do i solve it?
ROCKINGRAYQUAZA (89)

comment or suggest something about the game if you have anything in mind..

Answered by CodingCactus (4180) [earned 5 cycles]
View Answer
Comments
hotnewtop
ROCKINGRAYQUAZA (89)

please upvote if you like the trailer of the game

JosephSanthosh (1196)

@ROCKINGRAYQUAZA Just a heads up, Repl.it doesn't allow people to create 'trailers' of any kind. Mine just got taken down today! I know it's a stupid rule, but this is Repl.it!

CodingCactus (4180)

@JosephSanthosh lmao it isn't a stupid rule, they are normally just print statements which are low effort and therefor against the rules. You could actually be finishing the repl instead of writing out print statements for a trailer, so really a waste of your time as well as the mods

ROCKINGRAYQUAZA (89)

can you help me cactus bro
@CodingCactus problem in line number 52..choose option "n" in the program..

ROCKINGRAYQUAZA (89)

@CodingCactus i really want this repl to be completed

JosephSanthosh (1196)

@CodingCactus True, but like what is the big deal, not like anyone looks at them

ROCKINGRAYQUAZA (89)

what do you mean joseph bro ,i still can't solve that type error problem @JosephSanthosh

ROCKINGRAYQUAZA (89)

and please don't start a fight,stay happy and stay safe @JosephSanthosh

ROCKINGRAYQUAZA (89)

@JosephSanthosh i have invited you to the repl so that you can edit an piece of code as per your choice

CodingCactus (4180)

@ROCKINGRAYQUAZA hey your problem is that you have a variable called in input and of course input is a keyword so whenever you do input() something after you have redefined input as a string, it tries to use call that variable as a function, which of course it isn't because your have redifined it as a str. To fix just rename the variable input to something different like inpt

ShivanshMishra (0)

Yes i am Shivansh Mishra. Do you know me? Or you have sent me the mail by mistake?

ROCKINGRAYQUAZA (89)

oh sorry you are someone else..sorry for inconvenience @ShivanshMishra

ShivanshMishra (0)

I am not your brother i think you sent me the mail by mistake. No problem!
Hey besides that is this is a team? Can I also join to get some experience? @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA (89)

yah if you like we could collaborate or make a team in which we could work together @ShivanshMishra

ShivanshMishra (0)

Thanks! What's your coding experience? I have just created a team so we can join. Till now i have made some projects like password generator, hangman and tic tac toe, but it's not on my repl it. I hope you can help me in coding if you want to. @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA (89)

yes i am also new at coding around 4 to 5 months but did very much reaserch and atleast now i can builb some complicated project ,we can learn very much from each other @ShivanshMishra

ShivanshMishra (0)

Yeah i saw your code. It was good and the text game was also interesting. Are you studying in a school? How can i send you a friend request or team request on repl it? @ROCKINGRAYQUAZA

ShivanshMishra (0)

Did you received the notification of any team invite? Plz join it. From there we will proceed further. @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA (89)

yeh go to your team and invite me @ShivanshMishra

ShivanshMishra (0)

I did it about few minutes ago. I have also sent the invite. Check your notifications. I just saw your repls, they were very good. How come you learnt so much in just 4-5 months? Your projects are good? From where you learnt those concepts? Youtube? I only know just one extra module that is tkinter. @ROCKINGRAYQUAZA

ShivanshMishra (0)

Ok i am creating a file lets first do a bit of coding so that we can collaborate together. And you can corect me and vice versa. I am creating a file. See that then edit it. @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA (89)

bro did you removed me from team.why??? @ShivanshMishra

ShivanshMishra (0)

Hey, I decided to bring some of my friends also, since they are not coming so i decide to not carry forward this team for sometime. I also recommend you to first work on basic things then go to complex ones. First consider learning functions and oop concept, after doing the basics like conditionals, loops etc. Since you have started very early you have lots of time to explore. I also recommend you to not to copy a single line of code from web, even if it is simple just do it on your own and try if you don't get it for the first time. I am not saying you to stop learning from internet but consider what i said. You coding skills are good but don't rush, just brush up the basics. Hope you get what I am saying. Whenever i revive the team i will add you!:) @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA (89)

thanks see my game post finally it's done @ShivanshMishra

ROCKINGRAYQUAZA (89)

do upvote if you like to see part 2 @ShivanshMishra

ShivanshMishra (0)

Hey, I am new to this platform. You recently sent me an invitation to edit the code or something like that.
I had few questions to ask, so plz consider answering these questions.
1. How you got to know about me and what's the purpose behind sending me the mail. I am not experiencend in coding as i started about 6 months ago.

  1. How things work here? Is this a team? Can everyone collaborate here?

Sorry for posting this question as i dont know how i can communicate with you, outside of this post section.

ROCKINGRAYQUAZA (89)

if so then you are my brother na or if not then i may have by mistaken ... sorry if you are someone else @ShivanshMishra

LTI2 (116)

Wait...The professer has to have a tree name!

ROCKINGRAYQUAZA (89)

You are talking about pokemon rusty?? =) @LTI2

LTI2 (116)

@ROCKINGRAYQUAZA no every professor is named after a tree. For example, Professor Oak, Professor Birch

ROCKINGRAYQUAZA (89)

lol ;) btw I have added vulcan to the group @LTI2

CodingCactus (4180)

@ROCKINGRAYQUAZA well it was me that fixed the error but.... ok

ROCKINGRAYQUAZA (89)

😅 yeah special thanks to you bro @CodingCactus

CodingCactus (4180)

@ROCKINGRAYQUAZA lmao why did you mark that comment as the answer, mark the actual comment as the answer so that when people are looking for help with their problems they see the actual answer pinned to the top

ROCKINGRAYQUAZA (89)

done stay safe wherever you are xD @CodingCactus

k9chelsea2 (785)

I think its because on line 70 you forgot to close the brackets

k9chelsea2 (785)

oh cool it works now

JosephSanthosh (1196)

@k9chelsea2 No there was a typo and a apostrophe error

k9chelsea2 (785)

oh ok thx for clearing that up

ROCKINGRAYQUAZA (89)

did you do any changes to the repl joseph bro as i have invite you to do so @JosephSanthosh

k9chelsea2 (785)

hmms whats not working

JosephSanthosh (1196)

https://repl.it/@JosephSanthosh/rise#main.py
Here is a remake of your post ^^^
Any questions ask me! If this helped then please select this as your answer

TheDrone7 (1772)

@JosephSanthosh it's great that you want to help out fellow community members but instead of spoon feeding how about you explain them about their issue along with an explanation of what the fix does.

Even though this would help them with this program, it won't help them as a coder.

JosephSanthosh (1196)

@TheDrone7 I know I had suggested it to him, while he already knew how to do it!

JosephSanthosh (1196)

So this is really good! Let me change this a bit and show you how to make it cooler! Give me a few minutes

PattanAhmed (1397)

@ROCKINGRAYQUAZA Hi,
Can you say in which path I have to go in the game?
I mean where the error occurs!
Thanks!

PattanAhmed (1397)

@ROCKINGRAYQUAZA Please show me like
Run>Y>etc...
Thanks

PattanAhmed (1397)

@ROCKINGRAYQUAZA Ok got it.
Wait a minute to solve!

ROCKINGRAYQUAZA (89)

it will ask yes or no so you give [email protected]

PattanAhmed (1397)

@ROCKINGRAYQUAZA Now,
Is your error solved now?
Sorry for leaving you as I was having some other tasks