python Home work
<blockquote>
  <ol>
  <li>define a string </li>
  <li>define string's len </li>
  <li>print true if the string len is even and the right half identical to the left half, else - print false.</li>
  </ol>
</blockquote>

<p>I need to do it only in 3 lines and it has to work for every string len without change the condition in (3).  </p>

<p>We didn't learn or loop yet. It supposed to be with slice.  </p>

<p>please help.</p>

<hr>

<p>i tried to do it:</p>

<pre><code>some_string = "bb" 
str_len = len (some_string),str(a)
if str_len%2==0 and some_string[0:a/2]==some_string[a/2:0]: print "True"
else: print "False"
</code></pre>

<p>but something went wrong</p>
