let responseJSON = try? JSONSerialization.jsonObject(with: data, options: [.allowFragments])
if let responseJSON = responseJSON as? [String:Any] {
if let tJsonObj = xResponse["d"] as? [[S
下面是我的代碼的縮寫版本。基本上,我有一本存儲包含我的ASCII字母的列表的字典。我提示用戶選擇字母,然後用特殊設計打印出來。第二個用戶輸入用於決定如何打印這些字母。 'h'=水平,'v'=垂直。垂直部分完美地工作。水平不。 def print_banner(input_string, direction):
'''
Function declares a list of ascii char