In end of chapter 2, Ternery operator code is not given
AnCyNitinChaudhary opened this issue · comments
Nitin Chaudhary commented
Please include below code as an example if possible-
temp='nitin' if(3>5) else 'chaudhary'
print(temp)
Output:
chaudhary
Wes McKinney commented
I removed the "expr if expr else expr" piece from the 3rd edition