一、分支逻辑
1、if
if condition1
thencommand1
elif condition2
then command2
elsecommandN
fiecho please input first number
read a
echo please input second number
read bif [ $a -eq $b ]
thenecho "equal"
elif [ $a -gt $b ]
thenecho "the firs…
import tensorflow as tf
import numpy as np
from tqdm import tqdm# ----------------------------- tensor常用函数2 -----------------------------------
a tf.constant([1, 2, 3, 1, 2])
b tf.constant([0, 1, 3, 4, 5])
c tf.where(tf.greater(a, b), a, b) # 若a&g…
力扣题目链接
列转行
SELECT product_id, store1 store, store1 price FROM products WHERE store1 IS NOT NULL
UNION
SELECT product_id, store2 store, store2 price FROM products WHERE store2 IS NOT NULL
UNION
SELECT product_id, store3 store, store3 price FROM p…