Login to ZARP
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Whoever can code Python READ

Whoever can code Python READ 6 years 6 months ago #923302

If anyone is good with python mind doing some small code for me
You need to write a program which will count down from 10 to 0 and display blast off! 

You will need to get python to wait for a second inside the loop. This can be done using the time library (see the link below). You should look at the sleep method.


And
Write a program which will output the lyrics to the song 99 bottles of beer. http://99-bottles-of-beer.net/lyrics.html

To get the marks you MUST use a while or for loop.
If you do it i might give you a gift :)
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1212
  • Karma: -15
Last Edit: 6 years 6 months ago by TimeForPug.
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923306

School work?

I'd help but don't have my laptop yet
  • James Stone
  • James Stone's Avatar
  • Offline
  • Gold Boarder
  • ZARP VIP
  • Life is a fight, but not everyone’s a fighter.
  • Posts: 2096
  • Thanks received: 294
  • Karma: -6
(OOC) Clarky: rdm me once more and youll be seeing yourself perma banned


If life is nothing but a bitch, I hope my dick is big enough
To fuck the whole world


Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923309

James Stone wrote:
School work?

I'd help but don't have my laptop yet

Ye
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1212
  • Karma: -15
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923323

i'll do it gimme a couple of hours add me on steam i'd like to clarify a few things
steamcommunity.com/id/Seargent44/home
  • Seargent44
  • Seargent44's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • F*@K
  • Posts: 1131
  • Thanks received: 326
  • Karma: 6
Ex-TTT Super Administrator
Ex-JB Super Administrator
Ex-SSRP Moderator


Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923324

shits ez xd

i would do it but i simply cba
  • SorIe
  • SorIe's Avatar
  • Offline
  • Marvelous Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 10840
  • Thanks received: 4296
  • Karma: 400

ex-dog LT member on many servers

Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923325

How will you ever learn if you don't do it yourself?
  • Sally
  • Sally's Avatar
  • Offline
  • Forum Administrator
  • ZARP VIP
  • Can You Understand How Strange It Is To Be Alive?
  • Posts: 7007
  • Thanks received: 3531
  • Karma: 62


Brother Gustro: sally is a minge
Login or register to post a reply.
The following user(s) said Thank You: Denis, snowi

Whoever can code Python READ 6 years 6 months ago #923326

Sally wrote:
How will you ever learn if you don't do it yourself?
Who said he wanted to learn how to do it?
  • Lewis_is_java
  • Lewis_is_java's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Λεωνίδᾱς
  • Posts: 7205
  • Thanks received: 4709
  • Karma: -65
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923338

blast off is done add me on steam i give you link
  • Seargent44
  • Seargent44's Avatar
  • Offline
  • Expert Boarder
  • ZARP VIP
  • F*@K
  • Posts: 1131
  • Thanks received: 326
  • Karma: 6
Ex-TTT Super Administrator
Ex-JB Super Administrator
Ex-SSRP Moderator


Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923340

Ohh that stuff is easy o: I just cba doing it cause i Uninstalled python
  • Boxy
  • Boxy's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • Poecilotheria metallica
  • Posts: 2825
  • Thanks received: 1035
  • Karma: -5
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923348

Oh hey that's the first ever task my Computing teacher gave my class...

pastebin.com/FZgy7k9c
  • TheXnator
  • TheXnator's Avatar
  • Offline
  • Former Owner
  • ZARP VIP Golden Blue Badge
  • "Save the tears for when we win!"
  • Posts: 8122
  • Thanks received: 4292
  • Karma: -2024
Discord: thexnator

Former Community Owner: 2020-2022
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923349

TheXnator wrote:
Oh hey that's the first ever task my Computing teacher gave my class...

pastebin.com/FZgy7k9c

Oh... mine was to write down the meaning of Concatenation it was boring
  • Boxy
  • Boxy's Avatar
  • Offline
  • Diamond Boarder
  • ZARP VIP
  • Poecilotheria metallica
  • Posts: 2825
  • Thanks received: 1035
  • Karma: -5
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923350

TheXnator wrote:
Oh hey that's the first ever task my Computing teacher gave my class...

pastebin.com/FZgy7k9c

Wanna do all my other ones for my cm vote :)
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1212
  • Karma: -15
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923353

Python is lameee only for math nerdzz
  • catboy sven ツ
  • catboy sven ツ's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Respected Zarp Contributor
  • Posts: 7197
  • Thanks received: 1544
  • Karma: -45
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)








Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923360

TimeForPug wrote:
TheXnator wrote:
Oh hey that's the first ever task my Computing teacher gave my class...

pastebin.com/FZgy7k9c

Wanna do all my other ones for my cm vote :)

Depends what the others are sir
  • TheXnator
  • TheXnator's Avatar
  • Offline
  • Former Owner
  • ZARP VIP Golden Blue Badge
  • "Save the tears for when we win!"
  • Posts: 8122
  • Thanks received: 4292
  • Karma: -2024
Discord: thexnator

Former Community Owner: 2020-2022
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923363

TheXnator wrote:
TimeForPug wrote:
TheXnator wrote:
Oh hey that's the first ever task my Computing teacher gave my class...

pastebin.com/FZgy7k9c

Wanna do all my other ones for my cm vote :)

Depends what the others are sir
Write a program that prints even numbers up to 20.

The output should be –

0
2
4
6
8
10
12
14
16
18
20
It seems Bert is a bit of a maths fan! He loves square numbers so much that he decided to write a python program to print out the first 100 of them. He managed to write some of the code but he got stuck with the while loop. Your task is simple. Finish off the while loop. 

x = 1
while :
    print("The square of " + x + " is " + x * x)
The best way to fall asleep is to count backwards from 100 to 1. Of course this would be the perfect candidate for a python program. Goes without saying!

Write a program which will output the numbers from 100 to 1. Sample output would be –

100
99
98
.. etc

Those are what i got a detention for so can you do them pls :)
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1212
  • Karma: -15
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923389

puga those are so ez wtf just do them yourself

here is the first one you asked for in c++, literally 5 lines of code...
#include <iostream>

using namespace std;

int main()
{
    for(int i = 0; i < 20; i++)
    {
        cout << i << endl;
        i++;
    }
}
  • catboy sven ツ
  • catboy sven ツ's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Respected Zarp Contributor
  • Posts: 7197
  • Thanks received: 1544
  • Karma: -45
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)








Last Edit: 6 years 6 months ago by catboy sven ツ.
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923409

Aspect wrote:
puga those are so ez wtf just do them yourself

here is the first one you asked for in c++, literally 5 lines of code...
#include <iostream>

using namespace std;

int main()
{
    for(int i = 0; i < 20; i++)
    {
        cout << i << endl;
        i++;
    }
}

Python tho
  • TimeForPug
  • TimeForPug's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP Golden Blue Badge
  • Posts: 6768
  • Thanks received: 1212
  • Karma: -15
Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923410

Didn't your tracher tell you how to do these? It's really easy
  • Clarky
  • Clarky's Avatar
  • Offline
  • Former Community Manager
  • ZARP VIP Gold Badge
  • I love Henny
  • Posts: 16830
  • Thanks received: 9584
  • Karma: 983
Login or register to post a reply.
The following user(s) said Thank You: Boxy

Whoever can code Python READ 6 years 6 months ago #923416

TimeForPug wrote:
Aspect wrote:
puga those are so ez wtf just do them yourself

here is the first one you asked for in c++, literally 5 lines of code...
#include <iostream>

using namespace std;

int main()
{
    for(int i = 0; i < 20; i++)
    {
        cout << i << endl;
        i++;
    }
}

Python tho

ur teacher will be more impressed with c++ code
  • catboy sven ツ
  • catboy sven ツ's Avatar
  • Offline
  • Adept Boarder
  • ZARP VIP
  • Respected Zarp Contributor
  • Posts: 7197
  • Thanks received: 1544
  • Karma: -45
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)








Login or register to post a reply.

Whoever can code Python READ 6 years 6 months ago #923423

Warning: Spoiler! [ Click to expand ]


pastebin.com/quCUjz8x
  • TheXnator
  • TheXnator's Avatar
  • Offline
  • Former Owner
  • ZARP VIP Golden Blue Badge
  • "Save the tears for when we win!"
  • Posts: 8122
  • Thanks received: 4292
  • Karma: -2024
Discord: thexnator

Former Community Owner: 2020-2022
Login or register to post a reply.
  • Page:
  • 1
  • 2
Time to create page: 0.157 seconds

126 PLAYERS ONLINE

Connect to server View Gametracker DarkRP 1
4/127
online
Connect to server View Gametracker Deathrun
0/40
online
Connect to server View Gametracker TTT
0/0
offline
Connect to server View Gametracker Bhop
1/32
online
Connect to server View Gametracker Surf
4/32
online
Connect to server View Gametracker Prop Hunt
0/42
online
Connect to server View Gametracker Sandbox
0/42
online
Connect to server Discord
117/913
online
Top