OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How can i print an ASCI drawing in Python?

  • Thread starter Thread starter Samuel-Riedel
  • Start date Start date
S

Samuel-Riedel

Guest
I'm trying to make a an if else game which has ASCI drawings, every time I paste an ASCI drawing inside the print() I keep getting errors "String literal is unterminated" and "also Expected attribute name after . "

this is the print I'm trying to use

Code:
print(",  /\  .  
 //`-||-'\\ 
(| -=||=- |)
 \\,-||-.// 
  `  ||  '  
     ||     
     ||     
     ||     
     ||     
     ||     
     ()     ")

I was expecting for the axe to be printed on the console.
<p>I'm trying to make a an if else game which has ASCI drawings, every time I paste an ASCI drawing inside the print() I keep getting errors "String literal is unterminated" and "also Expected attribute name after . "</p>
<p>this is the print I'm trying to use</p>
<pre><code>print(", /\ .
//`-||-'\\
(| -=||=- |)
\\,-||-.//
` || '
||
||
||
||
||
() ")
</code></pre>
<p>I was expecting for the axe to be printed on the console.</p>
 

Latest posts

Online statistics

Members online
0
Guests online
5
Total visitors
5
Top