argh, net te laat!quote:Op woensdag 23 augustus 2006 17:52 schreef geenaam het volgende:
Condooms voor mensen met overgewicht?
quote:
T is maar de vraag of dat in dit geval een compliment te noemen isquote:Op woensdag 23 augustus 2006 17:54 schreef geenaam het volgende:
[..]You know what they say.. Great minds think alike..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # If no arguments were given, print a helpful message if len(sys.argv)==1: print 'Usage: celsius temp1 temp2 ...' sys.exit(0) # Loop over the arguments for i in sys.argv[1:]: try: fahrenheit=float(string.atoi( i)) except string.atoi_error: print repr( i), "not a numeric value" else: celsius=(fahrenheit-32)*5.0/9.0 print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5)) |
Reken ik goed.quote:Op woensdag 23 augustus 2006 18:07 schreef Keileweg-ethicus het volgende:
Python
Oh sorry dat zag ik niet.quote:Op woensdag 23 augustus 2006 18:07 schreef lienelien het volgende:
ik ken alleen java, html, en php
maar volgens mij mocht ik een vraag stellen
Forum Opties | |
---|---|
Forumhop: | |
Hop naar: |