Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Wrong output in Visual Studio Code
Post: Wrong output in Visual Studio Code

Hi Python experts, I have started using "Visual Studio Code" and its giving little weird results. daysInWeek={"Mon","Tues","Wed","Thur","Fri","Sat","Sun"} for i,d in enumerate(daysInWeek): print...
py_learner General Coding Help 1 2,675 Jun-24-2019, 09:57 PM
    Thread: trouble while appending list in for loop
Post: trouble while appending list in for loop

Hi folks, I am new to python and having trouble to append list in for loop.. any help will be appreciated! a = [1,1,2,3,5,8,13,21,34,55,89] def less_than_ten(num): for n in a: if n <...
py_learner General Coding Help 1 2,861 May-28-2018, 12:41 AM
    Thread: TypeError: can't multiply sequence by non-int of type 'str'
Post: RE: TypeError: can't multiply sequence by non-int ...

I am also new to python.. this line has error print('Pay:' + pay) try this print('Pay:' + str(pay))
py_learner Homework 4 30,502 May-28-2018, 12:21 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020