[PROBLEM] My program output in space problem

Page 1 of 1

0 Replies - 453 Views - Last Post: 20 December 2011 - 06:45 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=260534&amp;s=ff73446aa05324c8b510786916b38bb6&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

#1 merena

Reputation: 0
• Posts: 7
• Joined: 19-December 11

[PROBLEM] My program output in space problem

Posted 20 December 2011 - 06:45 AM

My sample program these is:

```ch = "abc"
print ch
print ch.upper()
print ch[0].upper(),ch[1],ch[2]
print ch[0].upper(),ch[1].upper(),ch[2]
print ch[0].upper(),ch[1],ch[2].upper()
print ch[0],ch[1].upper(),ch[2].upper()
print ch[0],ch[1].upper(),ch[2]
print ch[0],ch[1],ch[2].upper()

```

This is program output;
abc
ABC
A b c
A B c
A b C
a B C
a B c
a b C

a b C -> There is no space here.
What should I do? thanks..

I am solved okey thanks, I put a plus instead of a comma

Is This A Good Question/Topic? 0

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }