2018年1月11日 星期四

Python: Print Unicode characters

Python: Print Unicode characters

Python Basic: Exercise-116 with Solution

Write a Python program to print Unicode characters.
Sample Solution:-
str = u'\u0050\u0079\u0074\u0068\u006f\u006e \u0045\u0078\u0065\u0072\u0063\u0069\u0073\u0065\u0073 \u002d \u0077\u0033\u0072\u0065\u0073\u006f\u0075\u0072\u0063\u0065'
print()
print(str)
print()
========== RESTART: F:/Python_APSC/py-ex-basic-116.py ============

Python Exercises - w3resource

>>> 


沒有留言:

張貼留言

MQTT Explorer 與 Node-Red 介面的實驗

 MQTT Explorer 與 Node-Red 介面的實驗 MQTT EXplorer 與 Node-Red介面的設定 (1) 設定  MQTT EXplorer Client    (2)        Node-Red LED ON  --> MQTT Explor...