我對在循環字符串賦值,我需要找出多少(A,E,I,O,U)輸入。 我已經做了,但我覺得它太長了。我想縮短它,但我不知道如何。 這是我的代碼:相反5變量計數和5不變的 x=input("enter the taxt that you need me to count how many (a,e,i,o,u) in it:")
a=len(x)
x1=0
x2=0
x3=0
x4=
我目前嘗試使用亞馬遜MWS和Feeds API更新產品數據。我的問題:更新庫存,並設置一個新的數量爲我的產品解決了這樣的錯誤: The XML you submitted is ill-formed at the Amazon Envelope XML level
at (or near) line X, column Y.
在另一方面,我出口幾乎相同的XML更新價格。這工作就好了... .
我有一個單例類,它看起來很像這樣, public class CfgHandler
{
private static readonly string ConfigDir = "Config";
public T Get<T>() where T : class, new()
{
string cfgFile = Path.Combine(ConfigD