I can run the program if i go copy and paste it, but if i wasn't copying what other people have done i wouldnt know what to do
The bits I would struggle would be for example
number = input("Please enter a number")
answer = number * 10
print(number + " x 10 = " + answer)
For example
The first...
I gave up coding for the last few months because it was too complicated for me, i just wondered does anyone have any advice or a way i can start with more simple stuff?
I appreciate the replies but I didn't understand any of them
thanks
Why do we need Casting?
Let’s create the following program to see why it is important to know how to use casting.
In the trinket IDE editor at the bottom of this page, type the following code:
number = input("Please enter a number")
answer = number * 10
print(number + " x 10 = " + answer)
Copy...
Okay now I understand that i can just copy and paste the following into the trixet and it seems to work but i havent really learned much, am i to move onto the next section or should i try to learn it a bit more?
monthlySaving = (1250 - 650 - 175) * 25 / 100
print ("You must save " +...
So I get to the end bit and their sample says
monthlySaving = (1250 - 650 - 175) * 25 / 100
print ("You must save " + str(monthlySaving) + " per month to meet your target" )
MY job now is to tidy it up
so id put
monthlySaving = (1250 - 650 - 175) * 25 / 100
print ("1250 " - 825 /25/100...
I dont think the link works, this is what i get
Just like in maths, certain arithmetic operations take precedence over others. What do you expect the result of the following expressions to be? Write down what you think each answer would be and then use the trinket IDE to create a program that...
Am i allowed to post links on here?
THis is the page im on?
https://www.hyperiondev.com/portal/skills-bootcamp-application/4715/programming_with_numbers_skills_bootcamp
apologies if im not
HI guys, im not sure if this is the right place to ask but im doing this at the moment
Can anyone give me any advice?
Im awful at coding - for the first bit it said
expression2 = (5 + 6) * 2
print("expression2 is: " + str(expression2))
I assumed thats 5 plus 6 times by 2 which is obviously 11...