Categories

0 votes
1.3k views
in Python by (87 points)
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
41 views
0 votes
70 views
asked Jun 13, 2019 in Python by Derya (87 points)
0 votes
44 views
0 votes
89 views
asked May 17, 2019 in Python by Derya (87 points)
0 votes
17 views
asked May 17, 2019 in Python by Derya (87 points)
...