This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
323f39a2b3
micropython
/
tests
/
bytecode
/
mp-tests
/
scope4.py
15 wiersze
123 B
Python
Czysty
Wina
Historia
# test scope
def
f
(
x
)
:
global
x42
print
(
x
,
x42
)
x42
=
x
x42
=
123
f
(
1
)
print
(
x42
)
x42
=
456
f
(
2
)
print
(
x42
)
Reference in New Issue
View Git Blame
Kopiuj bezpośredni odnośnik