I am new to SAGE and am trying to experiment with it. What I am trying to do is something like this -

k = 1 G.add_edge((1,2), label= 'k') Then it should label the edge as '1', not as 'k'. How would I do this?

1 | initial version |

I am new to SAGE and am trying to experiment with it. What I am trying to do is something like this -

k = 1 G.add_edge((1,2), label= 'k') Then it should label the edge as '1', not as 'k'. How would I do this?

2 | No.2 Revision |

I am new to SAGE and am trying to experiment with it. What I am trying to do is something like this -

k = ~~1
~~1

G.add_edge((1,2), label= ~~'k')
~~'k')

Then it should label the edge as '1', not as 'k'. How would I do this?

3 | retagged |

k = 1

G.add_edge((1,2), label= 'k')

Then it should label the edge as '1', not as 'k'. How would I do this?

4 | retagged |

k = 1

G.add_edge((1,2), label= 'k')

Then it should label the edge as '1', not as 'k'. How would I do this?

5 | retagged |

k = 1

G.add_edge((1,2), label= 'k')

Then it should label the edge as '1', not as 'k'. How would I do this?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.