0% found this document useful (0 votes)
43 views

CSE110 Lab Assignment 2.HTML-37

This short Python code snippet is incrementing and printing a variable called 'ans'. It first prints the current value of 'ans' without a newline, then it adds the value of the variable 'perfect' to 'ans' to increment it. The code is then run but no further context is provided on what values 'ans' and 'perfect' may hold.

Uploaded by

Shamsul Rahat
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

CSE110 Lab Assignment 2.HTML-37

This short Python code snippet is incrementing and printing a variable called 'ans'. It first prints the current value of 'ans' without a newline, then it adds the value of the variable 'perfect' to 'ans' to increment it. The code is then run but no further context is provided on what values 'ans' and 'perfect' may hold.

Uploaded by

Shamsul Rahat
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

print(ans,end='')

ans=ans+perfect

2
6

In [ ]:

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

You might also like