Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: problem with code
Post: RE: problem with code

(Mar-07-2021, 10:04 AM)ibreeden Wrote: Hi sarata, Are you sure it returns 1 for the string '0000'? With me it returns 'None'. And this is because you only return a value when a letter is encountere...
saratha General Coding Help 7 3,755 Mar-07-2021, 10:08 AM
    Thread: problem with code
Post: problem with code

Hi, Here is a code: def beginning_zeros(x): count = 0 for letters in x: if letters == '0': count += 1 else: return countI wrote this code to c...
saratha General Coding Help 7 3,755 Mar-07-2021, 09:03 AM
    Thread: Python elementary problem
Post: RE: Python elementary problem

(Nov-04-2020, 04:24 PM)Axel_Erfurt Wrote: show what you've tried for words in x: if x.isnumeric: print(words) else: print(0)here is what i've tried.
saratha General Coding Help 5 2,659 Nov-04-2020, 05:27 PM
    Thread: Need help with checkio problem
Post: RE: Need help with checkio problem

(Jul-22-2020, 06:03 PM)deanhystad Wrote: Break the problem into parts. The problem says you need to sum numbers that appear in text. It says only separated numbers should be counted. 1. What does...
saratha Homework 6 3,597 Nov-04-2020, 04:25 PM
    Thread: Python elementary problem
Post: Python elementary problem

In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be counted. this is the problem. I'm a beginner programmer in terms o...
saratha General Coding Help 5 2,659 Nov-04-2020, 04:22 PM
    Thread: My code isn't excecuting
Post: RE: My code isn't excecuting

Omg Snippssat! Thank you sooo much ! With your help I could finally solve this problem!
saratha General Coding Help 5 2,207 Aug-26-2020, 06:38 PM
    Thread: My code isn't excecuting
Post: RE: My code isn't excecuting

Hey snippsat, Thanks for the help, but my function is to increment 10 characters for a hundred times each time like these. For example: fwevervrbh(10) pugjyshkuhswersdghjy(+10)(20) efecerjvrugyvrivjnu...
saratha General Coding Help 5 2,207 Aug-26-2020, 03:38 PM
    Thread: My code isn't excecuting
Post: My code isn't excecuting

Hello, I have excecuted my function but it doesn't run. Does anyone know why? def randword(): from random import choice from string import ascii_lowercase n = 10 word_list = [] another_random = '...
saratha General Coding Help 5 2,207 Aug-26-2020, 02:22 PM
    Thread: Need help for my code!
Post: RE: Need help for my code!

Hey, I've done it till printing the strings of length 10 a hundred times. BUT I'm still am hung up on incrementing it each time it. What do I do? I'm hitting my head hard for this problem(even if it'...
saratha Homework 4 2,243 Aug-25-2020, 10:21 AM
    Thread: Need help with a code
Post: RE: Need help with a code

(Aug-07-2020, 05:45 PM)deanhystad Wrote: This is a really simple task. You think it is hard because you don't know how to write the program. Yet. Start with solving the problem, not writing the p...
saratha Homework 5 2,546 Aug-24-2020, 12:50 PM
    Thread: Need help for my code!
Post: Need help for my code!

Hey guys, I have a problem and I'm really confused of how to do it. Anyone know this? Problem: print 100 random strings(all lowercase letters), each increasing 10 characters in each loop. Start with ...
saratha Homework 4 2,243 Aug-24-2020, 12:48 PM
    Thread: Need help with a code
Post: Need help with a code

Hey everyone, I have a problem solving this code, so can you help? The problem is: to do a repetition count and give the result as a dictionary. And also if the letter in the word repeats itself, it...
saratha Homework 5 2,546 Aug-06-2020, 10:57 AM
    Thread: Need help with checkio problem
Post: Need help with checkio problem

Ok, so the problem is to solve this question...Can anyone help ? In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be c...
saratha Homework 6 3,597 Jul-21-2020, 10:57 AM
    Thread: problem with opening csv file in pandas
Post: RE: problem with opening csv file in pandas

Thanks !
saratha Data Science 2 2,555 Jul-21-2020, 10:55 AM
    Thread: problem with opening csv file in pandas
Post: problem with opening csv file in pandas

Hello everyone, See, I'm a Pycharm user and I'm currently learning how to use pandas for data analysis. But the problem is that I cannot open my csv file. Here is how it goes: Code: import pandas as ...
saratha Data Science 2 2,555 Jul-16-2020, 09:00 AM
    Thread: an input question
Post: an input question

Hello everyone, I just wanted to know how I can check if a string input is a number?
saratha General Coding Help 4 2,093 Jul-14-2020, 11:42 AM
    Thread: Question in python function problem
Post: Question in python function problem

HELLO EVERYONE, **python** Can I ask you a question? What is the answer for this question and can anyone explain it in depth?
saratha General Coding Help 1 1,465 Jul-08-2020, 04:14 PM

User Panel Messages

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