Who can help help me with python error? Its math related
@Kainui can you help?
I have no idea what the problem is so I can't tell you until I see
Here is the program https://gyazo.com/b4e132c2c33e58c7e3e383bc95e97a4e But when i put the number, it gives me it combined like "5252" https://gyazo.com/27179c22b3c95e2b9d71de747b3d37e3
can you paste the program instead of taking a picture of it
I don't know python, or any programming for that matter :[ but it looks like it's concatenating strings together do you need to specify that the inputs are integers maybe?
Yes https://gyazo.com/c92368b89dc62242d9dfdbb74aa15d48 but when you do that you get an error https://gyazo.com/915dff5aadc002ef06ad04906a90409b
@Kainui can't because the homework will have you log in it with a different PC etc so i can't turn that in haha
i think you have to input the data like this: year1 = int(input("Please enter the number of wins in year 1: ")) try that maybe? :o
hmm i thin its year1 = float(input("BAH") ill try that or both
ya google brought me this: http://stackoverflow.com/questions/20449427/how-can-i-read-inputs-as-integers-in-python input always returns a string in python 3, so i guess you have to specify ... something... ya +_+ hmm interesting
WOW and you dont know PROGRAMMING :D you're awesome i got it :D
You should go into programming :D If you can help me with that :D
nahhh :D i like the math ive taken a couple C programming courses, too hard though D: and didn't enjoy them
Oh i see, sometimes programming gets boring for me as well but i just keep with it
good good good c:
THnak you again
did you see you had year=int(year5) instead of year5=int(year5)
Join our real-time social learning platform and learn together with your friends!