This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //Упражнения по преобразованию составного оператора (compound) блока кода при операторе if в код без составных операторов. | |
// Задание 1 | |
// ДАНО: | |
// На вход программа в которой: есть один оператор "if" c одной только веткой "then". Т.е. без ветки "else". | |
// код программы: | |
$v = 120; | |
if ($v % 5 == 0 || $v % 2 == 0){ | |
print("some-string-1 \n"); | |
print("some-string-2 \n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08-11 00:05:28.369 W/InputMethodManagerService(1125): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@91e440f attribute=null, token = android.os.BinderProxy@70ee0b2 | |
08-11 00:05:28.676 D/OpenGLRenderer(29817): endAllActiveAnimators on 0x98f3ed80 (MenuPopupWindow$MenuDropDownListView) with handle 0x9867f6d0 | |
08-11 00:05:28.790 D/WifiStateMachine(1125): updateCapabilities for config:Ucom1332false,false | |
08-11 00:05:29.430 I/ActivityManager(1125): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/com.android.launcher3.Launcher (has extras)} from uid 1000 on display 0 | |
08-11 00:05:29.593 I/HK/LatinKbdBaseView(19831): closing org.pocketworkstation.pckeyboard.LatinKeyboardView{a777b2a V.ED..... ......ID 0,0-1080,670 #7f080004 app:id/LatinkeyboardBaseView} | |
08-11 00:05:29.762 I/art (1125): Background partial concurrent mark sweep GC freed 90110(4MB) AllocSpace objects, 13(1416KB) LOS objects, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08-09 14:18:47.940 V/WebViewLoader(21782): Could not ping localhost:5000 | |
08-09 14:18:48.043 V/WebViewLoader(21782): Could not ping localhost:5000 | |
08-09 14:18:48.148 V/WebViewLoader(21782): Could not ping localhost:5000 | |
08-09 14:18:48.159 I/python (21782): imported flask etc | |
08-09 14:18:48.209 I/python (21782): Current directory is /data/data/org.myapp1/files/app | |
08-09 14:18:48.220 I/python (21782): Traceback (most recent call last): | |
08-09 14:18:48.220 I/python (21782): File "/home/user1/my_prj/app-andr/odunittests/test_app/main.py", line 89, in <module> | |
08-09 14:18:48.221 I/python (21782): File "/home/user1/.local/share/python-for-android/build/python-installs/dist1/flask/app.py", line 985, in run | |
08-09 14:18:48.221 I/python (21782): File "/home/user1/.local/share/python-for-android/build/python-installs/dist1/flask/cli.py", line 670, in show_server_banner | |
08-09 14:18:48.221 I/python (21782): File "/home/user1/.local/share/python-for-android/build/python-installs/dist1/click/utils.py", line 27 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is session transcript run in ConEmu: | |
# ConEmu - Handy Windows Terminal | |
# https://conemu.github.io/ | |
C:\mn_prj\tmp-uni>ipython | |
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] | |
Type "copyright", "credits" or "license" for more information. | |
IPython 5.8.0 -- An enhanced Interactive Python. | |
? -> Introduction and overview of IPython's features. |