![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
|
need to get more complex
i need to find more and harder things for me to make. i am making simple things like this
name = raw_input("Whats youe name? ")
print "Your name is ", name
raw_input("Press Enter Key ...") # waitso if someone can help me by telling me what would be something more challenging for me ot make. i would like that. |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
You know those e-mails you get where somebody sends an e-mail of an e-mail of an e-mail:
>> You know you're in California ! when...... >> >> 1. You make over $300,000 and still can't afford a house. >> >> 2. You take a bus and are shocked at two people carrying on >> a conversation in English. >> >> 3. Your child's 3rd-grade teacher has purple hair, a nose ring, >> and is named Breeze. >> >> 4. You can't remember ... is pot illegal? >> >> 5. You've been to a baby shower that has two mothers and a >> sperm donor. >> >>
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
ok. i will have to look up on that because i really dont know much about this yet. that is the only thing i have been making. i dont know any other things to make.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
You could make a program that translates a text file into ROT13 (where the letters of the alphabet are shifted 13 places).
Or a number guessing game. Or a hangman game. |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
that hang man game sounds easy to make.
|
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
You can make your original program more complex and have some fun too:
name = raw_input("Whats your name? ")
print "Your name is ", name
# do something with the name
if 'a' in name.lower():
name1 = name.replace('a', 'e')
name2 = name.replace('a', 'u')
print "Your name could have been", name1, "or", name2
if 'o' in name.lower():
name1 = name.replace('o', 'e')
name2 = name.replace('o', 'u')
name3 = name.replace('o', 'oo')
print "Your name could have been", name1, "or", name2, "or even", name3
if 'i' in name.lower():
name1 = name.replace('i', 'a')
name2 = name.replace('i', 'oo')
print "Your name could have been", name1, "or", name2
raw_input("Press Enter Key ...") # wait
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#7 | |
|
Hobbyist Programmer
|
Quote:
i really dont know how to use loops yet. |
|
|
|
|
|
|
#8 |
|
Programmer
Join Date: Nov 2005
Location: Spring Valley, CA
Posts: 52
Rep Power: 4
![]() |
Here homie...check this out then try pounding out ur program.
http://honors.montana.edu/~jjc/easytut/easytut/ |
|
|
|
|
|
#9 | |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 648
Rep Power: 4
![]() |
Quote:
For example: x = 3
if x == 4:
print "This will not be printed, as the above condition will not be met"
elif x == 3:
print "The above statement evaluates to True, \nand this message will be printed"
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
|
#10 |
|
Hobbyist Programmer
|
dont limit urself to console programming. Keep on learning, theres much more to programming than printing something on the screen. Especially the fact that u dont know loops. So keep on reading and learning, than move on to win32 programming, than move on to directx programmign and make awsome flash games that u can publish on mofunzone
Or u can even set up a team and make ur own quake. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|