Ask coding questions

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

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

Answered by CodingCactus [earned 5 cycles]
View Answer
Voters
PattanAhmed
ROCKINGRAYQUAZA
Comments
hotnewtop
ROCKINGRAYQUAZA

please upvote if you like the trailer of the game

gibbsfreenergy

@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!

PattanAhmed
ROCKINGRAYQUAZA
CodingCactus

@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

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

ROCKINGRAYQUAZA

@CodingCactus i really want this repl to be completed

ROCKINGRAYQUAZA

cactus bro please reply @CodingCactus

gibbsfreenergy

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

ROCKINGRAYQUAZA

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

ROCKINGRAYQUAZA

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

ROCKINGRAYQUAZA

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

CodingCactus

@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

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

ROCKINGRAYQUAZA

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

ShivanshMishra

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

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

ShivanshMishra

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

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

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

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

ROCKINGRAYQUAZA

yeh go to your team and invite me @ShivanshMishra

ROCKINGRAYQUAZA

have you made a team,?? @ROCKINGRAYQUAZA

ROCKINGRAYQUAZA

ok let me check @ShivanshMishra

ShivanshMishra

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

ROCKINGRAYQUAZA

i joined !! @ShivanshMishra

ROCKINGRAYQUAZA

yes bro i joined you!! @ShivanshMishra

ShivanshMishra

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
ROCKINGRAYQUAZA

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

ShivanshMishra

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

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

ROCKINGRAYQUAZA

do upvote if you like to see part 2 @ShivanshMishra

ShivanshMishra

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

you are shivansh only na ??
@ShivanshMishra

ROCKINGRAYQUAZA

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

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

ROCKINGRAYQUAZA

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

LTI2

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

ROCKINGRAYQUAZA

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

Yoshiii

This is nice!

ROCKINGRAYQUAZA

thanks @CodingCactus @JosephSanthosh @PattanAhmed @k9chelsea2 for helping me out with this problem..

CodingCactus

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

k9chelsea2

lmao

k9chelsea2

it fine any time

ROCKINGRAYQUAZA

😅 yeah special thanks to you bro @CodingCactus

CodingCactus

@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

by mistake i am doing that only [email protected]

ROCKINGRAYQUAZA

done stay safe wherever you are xD @CodingCactus

k9chelsea2

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

ROCKINGRAYQUAZA
k9chelsea2

oh cool it works now

gibbsfreenergy

@k9chelsea2 No there was a typo and a apostrophe error

k9chelsea2

oh ok thx for clearing that up

ROCKINGRAYQUAZA

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

ROCKINGRAYQUAZA

but its still not workin @k9chelsea2

ROCKINGRAYQUAZA

but its still not working
@JosephSanthosh

k9chelsea2

hmms whats not working

gibbsfreenergy

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

@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.

gibbsfreenergy

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

ROCKINGRAYQUAZA

@PattanAhmed will you collab with me..Are you indian

gibbsfreenergy

@ROCKINGRAYQUAZA I am, are you?

PattanAhmed

@ROCKINGRAYQUAZA Yes but do invite me to your Repl
Thanks!

ROCKINGRAYQUAZA

yes what happened [email protected]

PattanAhmed
gibbsfreenergy

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

ROCKINGRAYQUAZA

are u indian
@JosephSanthosh

gibbsfreenergy

@ROCKINGRAYQUAZA Yup. I live in Los Angeles CA though.

ROCKINGRAYQUAZA
gibbsfreenergy

@ROCKINGRAYQUAZA YAY! So it works now

gibbsfreenergy

@ROCKINGRAYQUAZA Please mark this answer correct if it answered your question!

PattanAhmed

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

ROCKINGRAYQUAZA
PattanAhmed

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

ROCKINGRAYQUAZA

b will be the short [email protected]

PattanAhmed

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

ROCKINGRAYQUAZA

bro please help [email protected]

PattanAhmed

@ROCKINGRAYQUAZA Wait,
I am trying to solve!

ROCKINGRAYQUAZA

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

ROCKINGRAYQUAZA

problem in line [email protected]

PattanAhmed

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