Ternary Operator – Python Tips and Tricks #4




[ad_1]

Today we learn about a special way of using if-statements in Python – the ternary operator.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: https://www.neuralnine.com/books/
🐍 The Python Bible Book: https://www.neuralnine.com/books/
👕 Programming Merch: https://www.neuralnine.com/shop

🌐 Social Media & Contact 🌐
📱 Website: https://www.neuralnine.com/
📷 Instagram: https://www.instagram.com/neuralnine
🐦 Twitter: https://twitter.com/neuralnine
🤵 LinkedIn: https://www.linkedin.com/company/neuralnine/
📁 GitHub: https://github.com/NeuralNine

🖥️ My Coding Setup 🖥️
⌨️ Keyboard: http://hyperurl.co/neuralkeyboard
🖱️ Mouse: http://hyperurl.co/neuralmouse
🖥️ Monitor: http://hyperurl.co/neuralmonitor
🎙️ Microphone: http://hyperurl.co/neuralmicrophone
✏️ Drawing Tablet: http://hyperurl.co/neuraldraw

🎵 Outro Music From: https://www.bensound.com/

Source


[ad_2]

Comment List

  • NeuralNine
    December 4, 2020

    adult = age >= 18
    Change my mind

  • NeuralNine
    December 4, 2020

    awesome

  • NeuralNine
    December 4, 2020

    U are such a nice and cool guy i follow you on insta too

Write a comment