0

Have a look at this...

>>> chores = 5
>>> paper_round = 30
>>> spending = 10
We’ve just created variables named ‘chores’, ‘paper round’ and ‘spending’. We can
then re-type the equation to get:
>>> print (chores + paper_round - spending) * 52
1300
16 CHAPTER 2. 8 MULTIPLIED BY 3.57 EQUALS. . .
Which gives the exact same answer. What if you get $2 more per week, for
doing extra chores. Change the ‘chores’ variable to 7, then hit the up-arrow key (↑)
on your keyboard a couple of times, until the equation re-appears, and hit the Enter
key:
>>> chores = 7
>>> print (chores + paper_round - spending) * 52
1404

What do they mean by

then hit the up-arrow key (↑)
on your keyboard a couple of times, until the equation re-appears, and hit the Enter
key:

Please help

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by jackbauer24
0

Hitting the up-arrow key should bring back the previous lines of input, at least this is the case if you are running python in a shell (or cmd) window. If you are using idle, use ALT-p intead of up-arrow. Other interfaces may have different shortcuts.

Also please use descriptive thread titles, 'Need help...' is not very good, everybody needs help :)

Edited by Gribouillis: n/a

0

Thanks a lot.And...

Also please use descriptive thread titles, 'Need help...' is not very good, everybody needs help

I'll take care about that bit.Thanks again!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.