2018年1月9日 星期二

Python: Print "30+20=50"

Python: Print "30+20=50"

Python Basic: Exercise-88 with Solution

Given variables x=30 and y=20, write a Python program to print "30+20=50".
Sample Solution:-
x = 30
y = 20
print("\n%d+%d=%d" % (x, y, x+y))
print()

============= RESTART: F:/Python_APSC/py-ex-basic-88.py ===========

30+20=50

>>> 

沒有留言:

張貼留言

Fultter APP控制 WOKWI ESP32 RFID+LED (使用flutter_windows_3.19.1-stable Visual studio 1.108.2 )

Fultter APP控制 WOKWI ESP32 RFID+LED (使用flutter_windows_3.19.1-stable  Visual studio  1.108.2 ) 1) Android studio 環境設定 2) Visual studio  1.108...