Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output of the following code? a = 0 if a: print(""""a's value"""") else: print(""""Sorry nothing will get printed"""")"
Home
Python
What is the output of the following code? a = 0 if a: print(""""a's value"""") else:...
0
votes
asked
May 17, 2019
in
Python
by
Derya
What is the output of the following code? a = 0 if a: print(""""a's value"""") else: print(""""Sorry nothing will get printed"""")"
1)Sorry nothing will get printed
2)Error
3)a's value
4)0
#python
Python-questions-answers
Please
log in
or
register
to answer this question.
2
Answers
0
votes
answered
Jul 12, 2019
by
anonymous
1)Sorry nothing will get printed
0
votes
answered
Jan 5, 2020
by
anonymous
Sorry nothing will get printed
...