This website requires JavaScript.
Explore
Help
Sign In
alfred
/
LearningPy
Watch
1
Star
0
Fork
0
You've already forked LearningPy
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
3b7b4a6dd3
LearningPy
/
main.py
6 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
Test single-line if.
2022-11-30 18:54:52 +00:00
#1 Line Ifs
x
=
None
if
x
is
None
:
print
(
"
Oh
"
)
#x = " "
print
(
"
Why
"
)
if
x
is
None
else
print
(
"
No
"
)
Reference in New Issue
Copy Permalink