Lakshya Tyagi Posted on Dec 4, 2020 3 3 Write the output of given python code. #python #quiz #beginners #challenge Python Daily Quiz (9 Part Series) 1 Which type of these is not a Core Data Type in Python? 2 Which method is used to return string in upper case? ... 5 more parts... 3 What will be the output of given code? 4 What will be the result of following code? 5 Correct syntax to output the type of variable or object? 6 Write the output of given python code. 7 What will be the output of given python code? 8 What will be the Output of given python code? 9 Which among them is used to create an object? a=1+2**3*4 print(a) Enter fullscreen mode Exit fullscreen mode write your answer in comment with explaination Top comments (5) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Jake Varness Jake Varness Jake Varness Follow Staff Software Engineer at Storable, husband, father, nerd Education Eastern Washington University, BS in Computer Science Work Staff Software Engineer at Storable Joined Nov 12, 2017 • Dec 4 '20 Dropdown menu Copy link Hide Report abuse 1+2**3*4=1+8*4=1+32=33 Collapse Expand Ranjeet Singh Ranjeet Singh Ranjeet Singh Follow Joined Dec 3, 2020 • Dec 4 '20 Dropdown menu Copy link Hide Report abuse the output will be 33. 2*3 is like 2*2*2 . The number post * is number of time first number should be repeated with * operation. Collapse Expand ProMikeCoder2020 ProMikeCoder2020 ProMikeCoder2020 Follow Addicted to programming. Love thinking about app ideas and putting them into practise Joined Oct 25, 2020 • Dec 9 '20 Dropdown menu Copy link Hide Report abuse Since we do to the power of first, multiplication second and finally sum it goes like this: 1+ 2 ** 3*4 = 1 +8*4 = 1 +32=33 Collapse Expand Sambhav-Jindal-github Sambhav-Jindal-github Sambhav-Jindal-github Follow Location Jaito,Punjab Work I am a student. at self-employed Joined Nov 3, 2020 • Dec 8 '20 Dropdown menu Copy link Hide Report abuse 33 Collapse Expand Ugbem Job Ugbem Job Ugbem Job Follow The wonders of the internet interest me and I aim to make more wonders with it too. Email ugbemjob@proton.me Location Remote Work Backend Developer Joined Mar 25, 2019 • Dec 8 '20 Dropdown menu Copy link Hide Report abuse a=1+2*3*4 => 1+(2*3)*4 =>1+(8)*4 =>1+32 =>33 a=33 Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (5)
1+2**3*4=1+8*4=1+32=33
the output will be 33. 2*3 is like 2*2*2 . The number post * is number of time first number should be repeated with * operation.
Since we do to the power of first, multiplication second and finally sum it goes like this: 1+ 2 ** 3*4 = 1 +8*4 = 1 +32=33
33
a=1+2*3*4
=> 1+(2*3)*4
=>1+(8)*4
=>1+32
=>33
a=33