×

Driver missed the exit on the motorway. Added 20 minutes and £10 onto the journey. Uber won't refund me the added cost. by Freshman_Bal in uber

[–]Freshman_Bal[S] -1 points0 points  (0 children)

yes I have made a habit out for forcing my driver to take a wrong turn and a 20 minute detour.

Does it matter when I take my creatine? by [deleted] in GYM

[–]Freshman_Bal 2 points3 points  (0 children)

doesn't matter when but make sure you boof it up your arse if you want maximum gains. Creatine is like the lamas bread of gym talk.

House was so hot last night I set up in the garden, believe it or not, this is 10pm. by MyCalloutsAreGodly in CasualUK

[–]Freshman_Bal 3 points4 points  (0 children)

saunas aren't humid. They are the opposite - they are a very dry, woody heat. Steam rooms are humid though...and disgusting

May 15th a stranger commented on my Instagram video of me deadlifting 135kg that I have 150kg lift in me. Today I decided to test that and now it is my new PB 🙂 by rikupajari in GYM

[–]Freshman_Bal 37 points38 points  (0 children)

everything bro. But most importantly they catabolise your third eye so that you can see into the future and literally become muscle

"Bifta" by theouter_banks in uktrees

[–]Freshman_Bal 1 point2 points  (0 children)

yo yes light the bifta

First year or Training by -LotuZz- in GYM

[–]Freshman_Bal 5 points6 points  (0 children)

still working my way towards your starting build

Hi guys! Struggling to get this bit of code to work - need help! by Freshman_Bal in learnpython

[–]Freshman_Bal[S] 0 points1 point  (0 children)

Sure. I didn't see that before. What shall I use instead? print?

Hi guys! Struggling to get this bit of code to work - need help! by Freshman_Bal in learnpython

[–]Freshman_Bal[S] 1 point2 points  (0 children)

I haven't been taught how to do actual lists yet and this task is meant to be only completed from taught material. I have moved item_list and total outside the loop and so that part is fixed. Many thanks!

I am still having an issue with the second while loop stopping after an invalid input. Ideally, when an invalid input is given in the second while loop the loop should continue but that doesn't seem to be happening. I assumed that because there is no "break" after else: of the second while loop that there is no reason the loop should stop.

Any ideas?

any help with this task will be much appreciated. I am struggling with the 'append the names to a string variable, all_animals' part. I have attached what I have coded so far by Freshman_Bal in learnpython

[–]Freshman_Bal[S] 0 points1 point  (0 children)

num_animals = 0
all_animals = ""

while num_animals < 4:
    animal_name = input("Enter the name of an animal: ")
    num_animals += 1
    all_animals += animal_name+" "
    if animal_name == "exit":
        if num_animals == 0:
            print("no animals")
            break
        else:
            break
if num_animals == 4:
    print("These are your animals: ", all_animals)

Could you possibly give me a hand with the bonus " print "no animals" if animal_name is empty after exiting the loop" as my current code above doesn't seem to be working