Member Avatar

Hello. I have a list like this: mylist = [7, "+", 2, "+", 1] I want to take them out of the list inorder to run the operation and get the real result; something like this: result = 7 + 2 + 1 So the result variable will be set to 10. How can i do that?!

Member Avatar
0
32
Member Avatar

This is what I have to code. Input an array of numbers(any numbers that user inputs from standard input, aka keyboard), remove numbers from array that are not 0 and 1. Thay array should now be bitwise moved with << or >> (again user choses the number of spaces moved and a type of move). After all of that turn that array into a binary number. Max number of elements is defined as a header with #define max_num_el 255. I have issues with part of code that need me to move elements of array and turning an array into binary …

Member Avatar
0
35
Member Avatar

i get this eveytime i go to youtube. it's just a pop up and i get several of them. how do i fix it? i have no clue what it is and i am not very computer literate so please explain in very simple easy to follow instructions. thank you

Member Avatar
0
9
Member Avatar

hi, i am working on development of a software project. i have used VB6.0 as frontend and MS Access as backend. In my project i have made a form in which i have to add,delete,search,move first,move last,move next and move previous options to keep tack of employee details. I want to know once i hve clicked on command button for "add record" and cancel he operation in between what wil be the code for cancelling add operation.? how to cancel this operation and return back to display the last recordd? need help as \soon as possible....thank you in advance

Member Avatar
0
18
Member Avatar

I am new to Assembly language and I'm getting a problem with the DIV operation. This should output the quotient and remainder if a 1-digit number is divided to a 1-digit number. What is wrong with my code? .MODEL SMALL .STACK 64 .DATA MSGA DB 13,10,"Input first number: ","$" MSGB DB 13,10,"Input second number:","$" MSGC DB 13,10,"The quotient is: ","$" MSGD DB 13,10,"The modulo is: ","$" NUM1 db ? NUM2 db ? .CODE MAIN PROC NEAR MOV AX, @DATA MOV DS, AX ; get first number LEA DX, MSGA MOV AH, 09h INT 21h MOV AH, 01 INT 21H SUB …

Member Avatar
0
3
Member Avatar

print "Hello, World!" ;) Hi, everyone, Venku (a.k.a Python Newb) here. I just kind of randomly opened up Python today (I do that a lot), and I decided I would finally ask this: What does the "is" statement do in Python 2.7.1 (if the ver# matters)? I checked out the Python command line (used "help()" "modules" "is"), but it only gave a comparison to C and an unintelligible description of what it does. I have an extensive vocabulary, and I am great with grammar and spelling, but the [I]terminology,[/I] like "collection" and "membership" confused me. It appears to be used …

Member Avatar
0
8

The End.