• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Python by
Q:
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

2 Answers

0 votes
by

1)Sorry nothing will get printed

0 votes
by

Sorry nothing will get printed

Related questions

0 votes
asked May 16, 2020 in Python by AdilsonLima
0 votes
asked May 17, 2019 in Python by Derya
...