Skip to content
Sign upLog in
Profile icon

Rina Dineshkumar

@Lanna
Repls
Community
Lanna
Lanna
shared a Post
2 years ago
1
An issue with writing into files... that occurs only on IDLE
Hi! I'm working on quite a simple program (or what i thought was simple). Anyway, i have to read a file called "COMMENTS" and then write half of it in
MemorableSalmonMaintenance
Python
Lanna
Lanna
Do you think it might be some issue with the version of my Python Shell? Because this specific code runs on Python 3.8.2 while mine is 3.8.5. Maybe something i've done isn't compatible...?2 years ago
CodeLongAndPros
CodeLongAndPros
Python shell Can you copy `python3 --version' and post it here?2 years ago
PattanAhmed
PattanAhmed
@Lanna Hi, It works fine with me! Need any kind of help? If any, Comment me below! Thanks! Hope this helps2 years ago
Lanna
Lanna
shared a Post
2 years ago
1
I've taken quite a liking to data, so I decide to work on a two's complement calculator, the code being limited to what I have learned so far. However
KindDarkblueEllipses
Python
coderash
coderash
Hi! Ive tried fixing it, will you tell me if this is the thing youre looking for? https://repl.it/@coderash/KindDarkblueEllipses I don't fully understand what you're trying to do wo could you provide an example?2 years ago
Lanna
Lanna
shared a Post
3 years ago
1
SO THE OUTPUT FOR THIS IS SUPPOSED TO BE Continue trying to get it to the right temperature. If you succeed proceed to the next step. Fill the bat
Vandesm14
Vandesm14
Can you provide the link to your repl? If you don't have one, just create a python repl3 years ago
Lanna
Lanna
shared a Post
3 years ago
3
Screen Shot 2019-10-05 at 5.39.59 PM Hiya folks! What I'm trying to do in this programme is to find whether the number that the user has entered is o
MeanStaleSites
python
Geocube101
Geocube101
Line 3: (Get user input): You must convert it to a float or int using float() or int() Line 4: (Test if number is whole number): Required only if you use float() on line 3 if number == int(number): print('This is a whole number') else: print('This is not a whole number') Line 6, Line 13: (Testing even or odd): Change number to remainder (You're testing the wrong value)3 years ago
Lanna
Lanna
shared a Post
3 years ago
1
Er, so it is working on a repl. But in my exams, I will be having to do HTML Codes in Notepad, because of our REALLY bad internet connection. So I usu
DanielKent3
DanielKent3
hh9 months ago
Lanna
Lanna
shared a Post
3 years ago
2
image So am I doing anything wrong in this commenting? 'Cause it ain't working, the comment is not supposed to be displayed but it is, why?
prekhshasharma
prekhshasharma
Get Packers and Movers Kolkata List of Top Reliable, 100% Affordable, Verified and Secured Service Provider. Get Free ###Packers and Movers Kolkata Price Quotation instantly and Save Cost and Time. ✔✔✔Packers and Movers Kolkata Reviews and Compare Charges for household Shifting, Home/Office Relocation, *Car Transportation, Pet Relocation, Bike SHifting @ https://kolkatapackersmovers.in/ 1 year ago
ash15khng
ash15khng
Are your tags showing? Like the things?3 years ago
Lanna
Lanna
I'm really sorry, I'll just try this out on a repl and post it out. Thanks.3 years ago
Lanna
Lanna
shared a Post
3 years ago
3
Hi, does anyone here know how to merge external, internal and inline style sheets in one HTML webpage? If we merge the files, then what type of styles
heyitsmarcus
heyitsmarcus
CSS can be a little bit complicated in its rules about what is applied at what point. All of what I'm going to talk about it doesn't even involve the !important keyword which introduces a kink into the hierarchy (but you don't see !important all that often so I'll save it for last). You've probably learned this already, but style sheets have different priorities depending on where they're created: Inline styles have the most priority and will always be applied over other styles i.e. here's a pa3 years ago
Vandesm14
Vandesm14
What do you mean? If you merge the stylesheets then only one file is loaded instead of multiple. It will cut the need for multiple files, which is good. Is that what you are asking?3 years ago
Lanna
Lanna
shared a Post
3 years ago
1
image Whenever I run this code, it works perfectly. But when I click on my hyperlink, the website does not run in a new tab. What's the issue?
TheDrone7
TheDrone7
You need to set the target to _blank instead of blank.3 years ago
Lanna
Lanna
shared a Post
3 years ago
14
Does anyone of you know any useful websites that teach HTML for free? Anything that isn't that complicated, and has spaces for beginners?
thecreeper2007
thecreeper2007
w3 for sure 3 years ago
Lanna
Lanna
Thanks for all the recommendations, I'll definitely try them out! 3 years ago
JustARatherRidi
JustARatherRidi
The others here have made some good suggestions, but I don't think any of them properly teach HTML, or at least they definitely don't do it quite as well. I extremely super highly recommend this tutorial, and I think this is the only introduction and tutorial for web development anyone ever needs. Just go through their home page, and I guarantee you'll want to give it a shot. https://internetingishard.com/ Good luck!3 years ago
Lanna
Lanna
shared a Post
3 years ago
1
This HTML programme uses the primary HTML functions. Am I doing this wrong? Can I improve this in any way by still using basic functions? Is this vali
hyperupcall
hyperupcall
Hey! :P So your HTML looks pretty fine to me. I would add a few things though. Maybe add some sort of element that is "above" all of the characters. So I put all of your characters around ``. Also, I would recommend adding `` tags around each character name. Kinda like this ... Tributes to some people in Marvel Iron Man Black Widow Vision ... And yah that's 'bout it. Some people might recommend you to write ` instead of `, but both are perfectly valid! ;) Hope I could help 3 years ago
Pythonier
Pythonier
It is correct. What is the problem? 3 years ago
Lanna
Lanna
shared a Post
4 years ago
2
Warning, this isn't code related Anyway, this is a question that I've always wanted to ask. Since this is my first forum, I just thought about ticking
ebest
ebest
Marvel. To make it code related, use code to make a survey.4 years ago
Lanna
Lanna
shared a Post
4 years ago
1
image PLEASE HELP ME WITH THIS. WHAT I NEED IS IN THE COMMENTS IN THE PROGRAM.
TheDrone7
TheDrone7
range is a python keyword just like print meaning you can't use it to store variables. Try referring to these tutorials to learn python - https://www.youtube.com/playlist?list=PLsyeobzWxl7poL9JTVyndKe62ieoN-MZ3 there are also a lot of books of you prefer. All you'll need to do is ask Uncle Google.4 years ago
Lanna
Lanna
shared a Post
4 years ago
1
image What's wrong with the append function that I have used? How is it not right? BTW, IT'S NOT THE SPACING. I tried it out without the spaces but it
AllAwesome497
AllAwesome497
Missing parenthesis on the line before 55A20A6C-6011-4146-AF94-0B71CEF79F694 years ago
Lanna
Lanna
shared a Post
4 years ago
12
@hayaodeh and @themaka , how does it feel to work in Repl.it? Does it have a headquarters? If so, where? Just felt like knowing.
TheMaster7661
TheMaster7661
@Lanna Hey, I was wondering if you wanted to help me make a text based game using python. I would do it myself, but I only know Javascript, and Java. I'm thinking, that I can tell you how the game will go, and you can code it out for me.2 years ago
hayaodeh
hayaodeh
Cool profile pic 😉and there is no dumb question. This is actually a great question. I'll start with if Repl.it has a headquarters. Repl.it is a very small team, we're only six people, and our office is in San Francisco, CA. Repl.it has moved a lot, it was born in Amman, Jordan; then moved to Manhattan NY and at that time it was a side project. But it became a company in Foster city, then we moved it to SF two years ago. How does it feel to work on Repl.it? It's very rewarding to build and to4 years ago
Lanna
Lanna
That's quite amazing. I bet it's nice to work in a programming place. Must be cool.👏👏4 years ago
Lanna
Lanna
shared a Post
4 years ago
3
I think I'm starting to get annoying now. Sorry. Yeah about the question, is it possible to create a "while loop" that consists of a nested if? Langu
coderash
coderash
You can do something like this: ` x=0;` While x=0: print("Hello!") 4 years ago
Lanna
Lanna
Thanks a lot for the help guys! I kinda figured it out now, thanks again!!👍👍4 years ago
Lanna
Lanna
image I tried it out on Portable Python and it doesn't seem to work. I have a theory that,possibly, since I have converted input into float value, the programme will consider marks as decimal always. If wrong, please help!4 years ago
Lanna
Lanna
shared a Post
4 years ago
1
Can arrays be synonymous to lists? If not, then what is the difference?
21natzil
21natzil
What an array, or list means, greatly depends on the language. Let's say we're talking about python. Lists are, lists, simple as that. But if someone says array, they could actually mean a list, and their just calling it that because they come from another language. Or, they actually are talking about arrays, and are most likely talking about numpy.array. NumPy is a very popular module for doing complex math in python, and people that use numpy pretty much always use it's array class. I hope thi4 years ago
Lanna
Lanna
shared a Post
4 years ago
2
Sorry, but the course couldn't fix this issue (or maybe I didn't get that far) So, can you help me with this? image If you have noticed the largest
ArchieMaclean
ArchieMaclean
Every time it says More numbers -Y/N : you should only be entering Y or N. You should only enter numbers when the Enter your number: prompt appears. That is because only numbers that are entered there are appended to the list. The largest number that you entered ar a Enter your number: prompt was 889, so that was the highest number the program found. Please upvote if this helps :)4 years ago
Lanna
Lanna
shared a Post
4 years ago
6
As @theangryepicbanana suggested for me to start a course since I'm asking a lot of questions, and Python still seems amazing but hard, I've decided t
Lanna
Lanna
Thanks a lot to everyone who helped! I've copied the links down and I'll use all of them to study for my test. @a5rocks , @theangryepicbanana , @themaka , @zcses , thanks again to all of you!4 years ago
themaka
themaka
@Lanna - one of our regular contributors, @PaoloAmoroso, has created a list of free python books: https://github.com/pamoroso/free-python-books 4 years ago
Lanna
Lanna
shared a Post
4 years ago
2
image I think you may have noticed, that this is not the answer I need. I might be annoying and testing your patience, since you guys are really good
ArchieMaclean
ArchieMaclean
You need to change all your if statements to if..elif statements, like: if operator==asdsa: code elif operator==asdasd: code else: code Also, you need to convert the inputted numbers to numbers, like this: number1 = float(number1) number2 = float(number2) (They were strings before) Please upvote if this helps :)4 years ago
Lanna
Lanna
shared a Post
4 years ago
1
[ ] Do these brackets have any function? Or are these just normal brackets? Language: Python 2.7 Where I saw it : A supportive code my teacher develo
theangryepicbanana
theangryepicbanana
Just a thought (as I've seen you ask for help multiple times), but maybe try an online Python 2.7 course?4 years ago
themaka
themaka
[] usually represent an array. https://docs.python.org/2/library/array.html4 years ago