On Wednesday, April 27, 2016 at 2:29:25 AM UTC-7, Smith wrote:
> Fill in the blanks to declare a variable, add 5 to it and print its value:
>
> >>> x = 4
> >>> x_ = 5
> >>> print_
>
>
> Any suggestion ?
>
> Thanks
>>> x = 4
>>> x += 5
>>> print(x)
9
--
https://mail.python.org/mailman/listi
On Wed, 27 Apr 2016 07:29 pm, Smith wrote:
> Fill in the blanks to declare a variable, add 5 to it and print its value:
>
> >>> x = 4
> >>> x_ = 5
> >>> print_
>
>
> Any suggestion ?
Okay, you have a variable x with the value of 4:
x = 4
How do you think you would print the value of x?
On Wed, 27 Apr 2016 11:29:12 +0200, Smith wrote:
> Fill in the blanks to declare a variable, add 5 to it and print its
> value:
>
> >>> x = 4 x_ = 5 print_
>
>
> Any suggestion ?
>
> Thanks
2 suggestions:-
1) Stay awake during your class so that you can complete basic homework
assignments.
>>> x = 4
>>> x + 5
9
-Original Message-
From: Python-list
[mailto:python-list-bounces+joaquin.alzola=lebara@python.org] On Behalf Of
Smith
Sent: 27 April 2016 10:29
To: python-list@python.org
Subject: Basic Concepts
Fill in the blanks to declare a variable, add
Fill in the blanks to declare a variable, add 5 to it and print its value:
>>> x = 4
>>> x_ = 5
>>> print_
Any suggestion ?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list