#๐ what do i learn?
27 messages ยท Page 1 of 1 (latest)
@fiery vapor
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.
Wdym. You mean how you can use them? You have to make tons of project to understand real python. If you just know the concept like theory you actually haven't learned python at all. My teacher asked my whole class to make an conversion from fahrenheit to celsius no one in the room could do that. Only the experienced ones could. Yeah shows me how projects are important.
i can use them
!e
return add(x+y)
add(5,6)
print(add(5,6))```
Hey @fiery vapor!
Add a py after the three backticks.
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
:x: Your 3.14 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File [35m"/home/main.py"[0m, line [35m4[0m, in [35m<module>[0m
003 | [31madd[0m[1;31m(5,6)[0m
004 | [31m~~~[0m[1;31m^^^^^[0m
005 | File [35m"/home/main.py"[0m, line [35m2[0m, in [35madd[0m
006 | return add(x+y)
007 | [1;35mTypeError[0m: [35madd() missing 1 required positional argument: 'y'[0m
it should be print(add(5, 6))
You could use an variable to store add(5,6) and then print it out
oh ye
The mistakes you are making (which is good btw, all part of the learning process) makes me think that you need to actually do some projects
Coding is more than just learning a few data types
I can tell she has potential
Input is probably something you could go for after that, and then making a simple project that uses everything you've learnt so far.
It all depends though on what your goals for learning are
!res you can try some of the beginner projects/courses
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
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.