32. Programming には計算をするための公式と呼べるものが
たくさんあります。
例: alert (int a) : a の文字をアラートボックスで表示します
a = b : b を a に代入
a = a + b : a + b を a に代入
a + = b : a + b を a に代入 (上の式と同じ意味)
Programming 学習のメリット < 1 : 英語と数学に慣れ親しむ事ができる(数学)>
(Source code)https://www.w3resource.com/python/python-if-else-statements.php(Online IDE)https://www.jdoodle.com/python-programming-onlineage = 38if (age >= 11): print ("You are eligible to see the Football match.") if (age <= 20 or age >= 60): print("Ticket price is $12") else: print("Tic kit price is $20")else: print ("You're not eligible to buy a ticket.")
(Source code)https://www.w3resource.com/python/python-if-else-statements.php(Online IDE)https://www.jdoodle.com/python-programming-onlineage = 38if (age >= 11): print ("You are eligible to see the Football match.") if (age <= 20 or age >= 60): print("Ticket price is $12") else: print("Tic kit price is $20")else: print ("You're not eligible to buy a ticket.")
(Source code)https://www.w3resource.com/python/python-if-else-statements.php(Online IDE)https://www.jdoodle.com/python-programming-onlineage = 38if (age >= 11): print ("You are eligible to see the Football match.") if (age <= 20 or age >= 60): print("Ticket price is $12") else: print("Tic kit price is $20")else: print ("You're not eligible to buy a ticket.")