#if #else #endif
#if 0
#else
#endif
if 1
A
#else
B
#endif
当为#if 1时,执行A,不执行B。
当为#if 0时,执行B,不执行A。
#endif 不可省略
时间:2022-05-05 07:03:29
#if #else #endif
#if 0
#else
#endif
if 1
A
#else
B
#endif
当为#if 1时,执行A,不执行B。
当为#if 0时,执行B,不执行A。
#endif 不可省略
#if...#endif #if...#else #endlif的区别和作用
2024-07-26
python endif_在Django模板中的 if else endif
2018-12-17