File: simple_extract_variable.py

package info (click to toggle)
python-lsp-rope 0.1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 340 kB
  • sloc: python: 2,319; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
import sys


def main():
    a = int(sys.stdin.read())
    b = 20
    extracted_variable = a + b
    print(extracted_variable)
    c = a + b


a, b = 30, 40
print(a + b)