社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
私信  •  关注

Hasee Amarathunga

Hasee Amarathunga 最近创建的主题
Hasee Amarathunga 最近回复了
6 年前
回复了 Hasee Amarathunga 创建的主题 » 如何将iterable赋给python数组变量?

试试这个

def iterator(n):
    START = input("Type start if you wan't to do this thang: ")
    numbers=[]
    while START == "start":
        total=0
        for i in range(0,n):
            num=int(input("type in number: "))
            total+=num
            numbers.append(num)
        print("Average : ",total/n)
        print(numbers)

        START = input("If that was wild for you, type start again, or type quit if that was lame: ")
        if START == "quit":
            break

iterator(20)
6 年前
回复了 Hasee Amarathunga 创建的主题 » 尽管语句在数据库中工作,PHP/MYSQL Select语句仍抛出错误

我想问题在这里。

if(sizeof($q_resultSel)>0)

将sizeof替换为count并检查它。

if(count($q_resultSel)>0)
6 年前
回复了 Hasee Amarathunga 创建的主题 » 如何修复命令python setup.py egg_info失败?

我认为问题在于你的python版本,因为要在heroku上运行它将是最新版本。