Let's Learn Python

Hi... everyone... I'm an external undergraduate student of the bachelor degree in IT field. I self studies about "Python" which is known as high-level programming language. Come & join with me... Let's share our knowledge.....

Thursday, May 28, 2020

Shortcut Operators


Let’s say “op” is a two-argument operator & the operator is used in the following context.

variable = variable op expression

It can be simplified & shown as follows.

variable op= expression

Given below the examples.




Posted by RMPTR95 at 7:06 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

RMPTR95
View my complete profile

Blog Archive

  • ►  2021 (2)
    • ►  April (2)
  • ▼  2020 (51)
    • ►  July (12)
    • ►  June (10)
    • ▼  May (23)
      • Iterations – While Loop
      • Conditional Statements
      • Comparison Operators
      • Type Conversion
      • String Operators
      • Type Casting
      • The input () function
      • Solve an Algebraic Equation
      • Miles to Kilo Meters Conversion Program
      • Shortcut Operators
      • Solve a mathematical problem in Pythagorean Theorem.
      • Variables
      • Binding of the operators
      • Arithmetic Operators – Part II
      • Arithmetic Operators – Part I
      • Boolean Values
      • Floats
      • Integers in Python
      • The print () function – Part 2
      • The print () function – Part 1
      • Lists in Python
      • Strings in Python - Part 3
      • Strings in Python - Part 2
    • ►  April (6)
Watermark theme. Powered by Blogger.