- 3
guess the out put of the code :print ((3**2)//2))
give the answer
5 odpowiedzi
+ 11
42
+ 7
Mukthiyaar Hussain ,
print ((3**2)//2))
is not a valid python expression, because there is an unmatched round parenthesis at the end of the expression.
BTW:
▪︎ you should put the language in a tag, and should avoid posting unnecessary tags like "range" that has no relation to the content of your post.
▪︎please post only coding related issues here, not guessing questions
thanks! (the answer to your question is: SyntaxError: unmatched ')')
+ 2
Mukthiyaar Hussain
Q&A is reserved for coding related questions, usually to resolve a difficulty.
Your post looks like a quiz, or challenge which is best posted in your personal feed.
If you have a query regarding your post, then please elaborate.
+ 1
Lothar 😂🤣😂
+ 1
If you correct the parenthesis to
print((3**2)//2)
Then the output is 4
First 3**2 = 9
Then 9//2 = 4