原创 Python編程:學習筆記

Python編程:   開源、面向對象的解釋型語言。   開發效率高,混合式(膠水語言)。編寫Python程序完成功能:   根據輸入的信息計算一個人

原创 keras 2.3.0 做上採樣 UpSampling2D的時候的維度出錯問題解決辦法

簡單的說,你是不是遇到了這樣的問題,上一層的數據是【None,200,14,14】 你希望上採樣到28x28 H = UpSampling2D(size=(2, 2))(H) 你以爲能得到【None,200,28,28】 結果卻成了【No

原创 Linux 常用指令使用

Linux 常用指令使用:Linux:1、表示Linux內核2、表示Linux操作系統:Linux內核和工具軟件、應用軟件             

原创 計算機基礎:python linux 基礎和進制

(01011011)2= 1×26 + 1×24 + 1×23  + 1×21  + 1×20  = 64+16 +8 +2 + 1         

原创 PYTHON算法題:Exes and Ohs

Check to see if a string has the same amount of 'x's and 'o's. The method m

原创 python 算法題:Sum of two lowest positive integers

Create a function that returns the sum of the two lowest positive numbers g

原创 python算法練習:尋找下一個完全平方數

題目大意:Return the next square if sq is a square, -1 otherwise我自己最開始寫的:import math def find_next_square(sq): a=math.s

原创 python錯誤提示:AttributeError: 'NoneType' object has no attribute 'append'

寫python程序時遇到的錯誤提示:         AttributeError: 'NoneType' object has no attribute 'append' 例如你定義了空list,想講元素加進去 l=[] m=''.

原创 pythion 算法題:Find the missing letter

#Find the missing letterWrite a method that takes an array of consecutive (

原创 PYTHON 算法題:Categorize New Member

The Western Suburbs Croquet Club has two categories of membership, Senior a

原创 linux命令更新+python編程入門

sublime text 軟件一個文本編輯工具(編寫代碼常用),功能強大。任務:      1、      自己查詢一下 Sublime text3 的安裝方法      用 Sublime text3 建立 Python 編輯工具。 

原创 python算法:Consecutive strings

You are given an array strarr of strings and an integer k. Your task is to return the first longest string consisting o

原创 python算法:Find the divisors!

Create a function named divisors/Divisors that takes an integer and returns an array with all of the integer's divisors

原创 python算法:Beginner Series #3 Sum of Numbers

Given two integers a and b, which can be positive or negative, find the sum of all the numbers between including them t

原创 Python編程:基礎知識筆記

Python編程:   開源、面向對象的解釋型語言。   開發效率高,混合式(膠水語言)。編寫Python程序完成功能:   根據輸入的信息計算一個人的標準體重並顯示。   拆分:      1、這個程序需要輸入信息嗎?