Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
Task:
I am a little stuck, how to do this with letters? Numbers are ok as from my former posts, but how to do this? All I have this far gives me the names as they are written in the .txt-file (unsorted) and with "None" between each name.
List of names if useful:
Anne
Jonas
Aase
David
Stine...
Hello everyone.Only part of the Node class is relevant to my question:
import math
class Node:
prevNodes = []
b = 0.5
def __init__(self,value,nextNode):
self.value = 0
if nextNode is not None:
self.nextNode = nextNode...
Hello,
I have the following assignment:
Open the file romeo.txt and read it line by line. For each line, split the line into a list of words using the split() method. The program should build a list of words. For each word on each line check to see if the word is already in the list and if not...
Please see a directive which I am having trouble fulfilling:
# Use upper() on place: place_up
place_up = upper(place, place_up)
I received this error message:
NameError: name 'upper' is not defined
Please see the code in context, attached. There are probably more errors which I have not...