aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qtpy2cpp_lib/test_baseline/basic_test.py
blob: 0cdd485fad0ae09dfe9ca512f132f8ef4a0358be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

a = 7

if a > 5:
    for f in [1, 2]:
        print(f)
else:
    for i in range(5):
        print(i)
    for i in range(2, 5):
        print(i)