0

What is the question asking ?

fill in the blanks to declare a variable and add 5

18th Dec 2016, 10:10 PM
Shivam Gupta
8 ответов
+ 4
I believe you need to rephrase that question in order for us to help you. You've tagged the script beyond recognition. I'll 'follow' to quickly solve your issue. :)
18th Dec 2016, 10:56 PM
Tristan McCullen
Tristan McCullen - avatar
+ 3
When you say, 'Take a shortcut on basic concepts', it is merely a misinterpretation. The shortcut only exists to let you skip 3 chapters by summarizing a quiz of which that covers all three chapter into five randomized excercises in a quiz. In order to successfully complete this quiz you need to have a good understanding in all of these: Basic concepts, control structures, functions & models. With that said, I cannot find the excercise you refer to because of two factors: 1st. - I've finished these chapters so I cannot see this option of taking a shortcut. 2nd. - The questions are randomly chosen, so even if I could access the quiz - it won't necessarily show me the one you request. However... If you could, somehow, paste the code you dropped in the tags then I could probably explain it to you and maybe even return the answer. Sorry that I can't be of more help to you at this point. Dr.
18th Dec 2016, 11:37 PM
Tristan McCullen
Tristan McCullen - avatar
+ 3
x = 4 x <= 5 print(x) The <= is an operator and the code basically says that variable x is equal or lower than 5 and therefore will print the value of x. Which in this case is 4.
18th Dec 2016, 11:55 PM
Tristan McCullen
Tristan McCullen - avatar
+ 3
Your gratitude tells me you solved it. :) Happy to help no matter the level. :-)
18th Dec 2016, 11:59 PM
Tristan McCullen
Tristan McCullen - avatar
0
Python 3 tutorial >> basic concepts >> take a shortcut. going here gives me a test in which this is one of the question. I could not get the question. So your answer is absolutely perfect 😉 . Please visit the same for the question and help me with an answer.
18th Dec 2016, 11:03 PM
Shivam Gupta
0
Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x__ = 5 >>> print__
18th Dec 2016, 11:44 PM
Shivam Gupta
0
Yes the solution given by you is not accepted by the script. as soon as I type + after x it moves to the next line and does not let me delete anything to make it correct.
18th Dec 2016, 11:49 PM
Shivam Gupta
0
Thanks .
18th Dec 2016, 11:57 PM
Shivam Gupta