471,334 Members | 1,328 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

beginner to python programming

need to become clear of some of the fundamentals...would anyone be willing to help me out? i'm having trouble with questions like the following:


Write an expression whose value is the result of converting the int value associated with x to a str . So if 582 was the int associated with x you would be converting it to the str "582" .
Sep 24 '07 #1
3 5197
need to become clear of some of the fundamentals...would anyone be willing to help me out? i'm having trouble with questions like the following:


Write an expression whose value is the result of converting the int value associated with x to a str . So if 582 was the int associated with x you would be converting it to the str "582" .

ok...that would just be int(x), right?
Sep 24 '07 #2
what about this question:


Write an expression that evaluates to True if and only if the value of x is equal to zero.
Sep 24 '07 #3
bartonc
6,596 Expert 4TB
We are here to help, but this site has some rules about homework.
You must show that you have done some work and we'll help show you where you have gone astray. For all site rules, please see Posting Guidelines: How to ask a question and the topic on homework that follow it.

Thanks.
Sep 24 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by sarmin | last post: by
12 posts views Thread by The Tao of Spike | last post: by
8 posts views Thread by Grrrbau | last post: by
4 posts views Thread by Kanthi Kiran Narisetti | last post: by
3 posts views Thread by Roy Smith | last post: by
18 posts views Thread by mitchellpal | last post: by
5 posts views Thread by Minlar Ginger | last post: by
7 posts views Thread by M_M | last post: by
10 posts views Thread by hamza612 | last post: by
1 post views Thread by =?utf-8?q?C=C3=A9dric_Lucantis?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.