Hello am just a beginner with ubuntu 19.4, but i have already fallen in errors while trying to install netbeans and LAMP

Entiry this was after doing a system upgrade and i repeatitively keep getting this error when ever i try to install any software, what should i do

The following packages have unmet dependencies:  apache2 : Depends: apache2-bin (= 2.4.38-2ubuntu2.3) but it is not going to be installed        Depends: apache2-utils (=2.4.38-2ubuntu2.3) E: Unable to correct problems, you have held broken packages. 

Thats the case for installing apache,

and fetch errors when updating

How to get apprpriate knowledge as a beginner penetration tester at home?

I want to apply for a job as a penetration tester in a good company. I have a fairly good knowledge of programming and have experience as a back-end developer.

I started to work with burpsuite,ZAP,Metasploitable2, Juiceshop and started to do some stuff locally. I want to gain more experience and do some challenging stuff but don’t know what to do. I also was suggested to learn Rust & Go and develop security applications. I don’t know how to start off and get my hands dirty on developing security applications to gain enough experience to apply for that job(I’m planning to complete it within a month)

Any Advice?

A beginner question. (Python) [on hold]

I’m completely new to programming and I’ve just started getting my hands dirty with Python,

So here is a pretty simple script that adds meals to the menu, I had 2 questions with this:

1- For simplicity, I would like to tell my script that it should start a certain block of code that was written earlier again if the person answered y

2- how can I make a code of block which simply deletes the meals the person writes in the input from the menu?

Script:

    menu = [] statement = 1 while statement == 1:     new_food = input('Please add the food you want to add to to the menu:')     menu.append(new_food)     print('Current food are {}'.format(menu))     asktocont = input('Would you like to add another meal to your menu? (y/n)')     if asktocont == 'n':         break  print('Foods are {} and the total amount of foods are {}.'.format(menu, len(menu))) askagain = input('would you like to add more meals to your menu? (y/n)') if askagain == 'y':     while statement == 1:         new_food = input('Please add the food you want to add to to the menu')         menu.append(new_food)         print('Current food are {}'.format(menu))         asktocont = input('Would you like to add another meal to your menu? (y/n)')         if asktocont == ('n'):             break 

As you can see, in a part I have copy pasted a block of code that was written earlier, I would like to make it simpler and faster by not having to copy paste the block of code again.

(Python-3.x) My Sal’s Shipping challenge on Codecademy beginner attempt

This is my attempt on the Python 3 Sal’s Shipping challenge on Codecademy (Challenge Link(instructions in the link)).
I’d really appreciate anyone to take the time to review my code. I’m a very fresh newbie and I really wanna improve my coding, all feedback is appreciated, thankss :).

def groundCost(weight):   if weight > 10:     cost = weight * 4.75   elif weight > 6:     cost = weight * 4   elif weight > 2:     cost = weight * 3   else:     cost = weight * 1.5   cost += 20   return cost  def droneCost(weight):   if weight > 10:     cost = weight * 14.25   elif weight > 6:     cost = weight * 12   elif weight > 2:     cost = weight * 9   else:     cost = weight * 4.5   return cost  def costCalc(weight):   g = groundCost(weight)   p = 125   d = droneCost(weight)   gS = "Ground Shipping"   pS = "Premium Ground Shipping"   dS = "Drone Shipping"   if d == g or d == p or g == p:     if d == g and d == p:       print("All shipping methods cost $  125 according to your items weight")       return      if d == g:       same1 = dS       same2 = gS       cost = d     if d == p:       same1 = dS       same2 = pS       cost = d     if g == p:       same1 = gS       same2 = pS       cost = g     print("Youre cheapest shipping method is "+same1+" and "+same2+" as they both cost $  "+str(cost))     return   elif (g < d) and g < p:     cheapMeth = gS     cost = g   elif (p < d) and p < g:     cheapMeth = pS     cost = p   elif (d < g) and d < p:     cheapMeth = dS     cost = d   print("Youre cheapest shipping method is "+cheapMeth+" costing $  "+str(cost))   return weight = int(input()) costCalc(weight) 

Example of beginner, intermediate, advanced components [on hold]

Similar to this other question An example of a beginner-level Algorithm, intermediate level Algorithm and a complex/expert level Algorithm? What would be examples of beginner, intermediate and advanced components?.

For example implementing a connection pool would be beginner or intermediate? what about implementing a thread executor or a dependency injector? Although these components are very well implemented in libraries, I think the question would be useful for people to know them and get familiar to understand how to use them and what to expect from them.

Va Business – Propel Your Brand Upwards – Make 800$ per day – Work From Home – Beginner Friendly

HOW IT WORKS

VIRTUAL ASSISTANT RESELLER SITE

No headaches completely outsourced. Virtual Assistant & Social Media Posting Service is completed by the Suppliers included with the sale of this website.

Very reliable Suppliers with a proven track record, together with 4 backup Suppliers.

This site runs on Autopilot if you have reasonable communication skills. No Phone contact with Customers is required. Just forwarding emails. No Skype Calls, just Skype Text Chat or exchange of…

Va Business – Propel Your Brand Upwards – Make 800$ per day – Work From Home – Beginner Friendly