#๐ python homework
52 messages ยท Page 1 of 1 (latest)
@safe ivy
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
What have you done so far?
this
I recall you've gotten it to append to the new list
wat do u mean
It helps us see the code better than from a screenshot
wait its not letting me send it tho
And also easy to point out where the mistake is
what are you sending?
like i press enter
and it just makes a new line
im sending my code
print('Hello world!')
print("like")
print("this?")
theres a header in this the emplyee_id etc
and my hw tells me to ignore the header
is that 3 rows or 1 row
right so just skip the first row
burt like is dat 3 rows or 1 row..
Its typically 1 row
If you print the row after reading the file, what does it show?
... unless it came out of a spreadsheet, which sometimes has more rows of guff before the data.
But yes, show the first few rows of the data, see what's there.
programming requires precision, largely because you need to tell a computer exactly what to do. This gets easier.
i wish my dad forced me to learn it when i was 4
If I had to learn it when I was 4, I wouldn't get it at all. Earliest I started learning how to program was when I was 13.
its so much to remember
i wished someone forced me to learn it when i was 13
ididnt know i had to do this stuff even when im studying engineering
Its fine. It takes time to get used to do this
if i knew i would have probably studied finance instead
can i do cool stuff in roblox if i learn this good enough
IIRC Roblox does a lot of Lua stuff. But whatever you learn in Python is easily transferable to other programming languages like Lua
try printing the first 5 rows of data:
for i in range(5):
print(i, data[i])
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.