Coding Fundamentals "Fill in the blanks" problem

4-1
module-4

#22

No not yet. Have you?


#23

I have been stuck for 3 days as well. Everything I have done on step 15 works but on 16 says wrong. I have googled this to see other options and plug those into step 15 and all work but on step 16 still says wrong.
Also would be helpful to have more video guides for this information not everybody learns from reading things sometimes it helps more to see and hear somebody explain things.


#24

Hi, Robert. I took a look at your code, and it seems like you’re using specific numbers in your code. Per @adam’s post earlier in this thread, your code should work for ANY two numbers that the user inputs.


#25

Hi, Bryan. I looked at the code you posted, and you’re very close to the right answer. The few things keeping your code from being correct are that 1.) you don’t need to change your variables into floats, we can leave them as the ints that we received from the user, 2.) your print statement, though very user friendly, doesn’t actually fulfil our design specifications: all we want you to print is the sum.


#26

It’s still not working.

I know the deadline is tomorrow and I’ve been working on this same problem for a week. I don’t know what to do at this point.


#28

As I said before: your print statement, though its formatting is very nice and user friendly, doesn’t actually fulfill our design specifications: literally the only thing your print statement should print is the sum.

i.e., if I run your program and entered 1 and 2 for my numbers, the console output should read:

Enter the first number: 1
Enter the second number: 2
3


#29

Oh my god I finally figured it out. Tears of joy. I feel like I just survived a zombie apocalypse.


#30

My issue was also way I had the sum. I went to a meet up an even tho my code work on repl, they only had so many ways for it to pass on the site, which cause it to fail. Congrats on it working!


#31

I finally got it I was way over thinking it.


#32

I did everything I could, I used repl.it to try and work it out:
What am I doing wrong?

update:
never-mind, I found the answer


#33

I’m having the same issue I do not see what I am doing wrong.


#34

e: code removed

I don’t understand what i am doing wrong ?


#35

That looks pretty good to me-- are you sure you are filling in only the code that is needed (in terms of the blanks)?


#36

e: code removed

I guess so… This was my last try and I still got an error :slight_smile:


#37

I think you might be entering the whole line of code instead of only what’s missing…


#38

I dont understand why it doesnt work


#39

They will probably delete your code, as they don’t like posting code at the board. . . my question tip, though, is-- why do you have your input code(s) twice?


#40

Thank you so much Lauren - I have been struggling with this and you have made me see that I was looking at the problem in the wrong way. Now solved!


#41

Np, Anne! So many people have helped me and I’m so glad to be able to pay it forward!


#42

Ok, so I got everything right on the first three lines, and now I’m stuck on the print portion of the problem. I can’t figure out what I’m missing. Was this problem meant to be hard coded?